Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2011 23:31:12 +0100
From:      Martin Matuska <mm@FreeBSD.org>
To:        Henner Heck <Henner.Heck@web.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory
Message-ID:  <4D643930.9020104@FreeBSD.org>
In-Reply-To: <4D6430D9.8060609@web.de>
References:  <4D6430D9.8060609@web.de>

next in thread | previous in thread | raw e-mail | index | archive | help
There looks like a known bug of not activating memory pages if using
sendfile(2).

This was fixed by kib@ in revision 218795 of stable/8.

Please try the following patch and report the result:
http://people.freebsd.org/~mm/patches/releng_8_2/218795.zfs.patch

Dňa 22.02.2011 22:55, Henner Heck  wrote / napísal(a):
> 
> Hello,
> 
> i experience freezing of my FreeBSD machine when performing certain
> operations
> on a Samba share.
> 
> Technical info:
> - FreeBSD 8.2 Release 64 Bit (it also happened with 8.2 RC3)
> - Samba 3.5.6.1
> - 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):
> 
> A:
> 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.
> 
> B:
> When copying the files onto a Windows machine using the Samba share,
> the free memory seems to stabilize at about 100M.
> 
> C:
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D643930.9020104>