Another ZFS ARC memory question

Alexander Leidinger Alexander at Leidinger.net
Fri Mar 2 09:25:32 UTC 2012


Quoting Slawa Olhovchenkov <slw at zxy.spb.ru> (from Thu, 1 Mar 2012  
18:28:26 +0400):

> On Tue, Feb 28, 2012 at 05:14:37AM +1100, Peter Jeremy wrote:
>
>> >      * what is the community's advice for production machines running
>> >        ZFS on FreeBSD, is manually limiting the ARC cache (to ensure
>> >        that there's enough actually free memory to handle a spike in
>> >        application memory usage) the best solution to this
>> >        spike-in-memory-means-crash problem?
>>
>> Are you swapping onto a ZFS vdev?  If so, change back to a raw (or
>> geom) device - swapping to ZFS is known to be problematic.  If you
>
> I see kernel stuck when swapping to ZFS. This is only known problem?

This is a known problem. Don't use swap on a zpool. If you want fault  
tollerance use gmirror for the swap paritions instead (make sure the  
swap partition does end _before_ the last sector of the disk in this  
case).

Bye,
Alexander.

-- 
As of next Thursday, UNIX will be flushed in favor of TOPS-10.
Please update your programs.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



More information about the freebsd-stable mailing list