FreeBSD 8.2 Release, ZFS + Samba, running out of memory
mm at FreeBSD.org
Tue Feb 22 22:31:18 UTC 2011
There looks like a known bug of not activating memory pages if using
This was fixed by kib@ in revision 218795 of stable/8.
Please try the following patch and report the result:
Dňa 22.02.2011 22:55, Henner Heck wrote / napísal(a):
> i experience freezing of my FreeBSD machine when performing certain
> on a Samba share.
> Technical info:
> - FreeBSD 8.2 Release 64 Bit (it also happened with 8.2 RC3)
> - Samba 220.127.116.11
> - Athlon II Quadcore, 4 GB Ram
> - 1 SSD with a ZFS pool (No.0) containing the FreeBSD system
> - 12x2TB RaidZ2 pool (No.1) for data, created on 12 GEOM eli encrypted
> partitions on 12 disks,
> shared to a Windows 7 PC with Samba,
> 8 of the disks are attached to 2 Marvell SATA controllers, 4 to the
> onboard controller
> - ZPool v15, ZFS v4
> Scenarios (checked using top):
> When copying files from one directory in pool 1 to another, the free
> memory drops from
> about 3700M to abaout 200M in the process, but seems to stabilize then.
> When copying the files onto a Windows machine using the Samba share,
> the free memory seems to stabilize at about 100M.
> When computing a hashvalue of files from the share on Windows or doing a
> binary compare to copies of the files stored on the Windows PC (using
> Total Commander),
> the free memory on the FreeBSD machine drops even lower and shortly
> after the BSD system freezes.
More information about the freebsd-stable