From owner-freebsd-stable@FreeBSD.ORG Tue Feb 22 23:13:52 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E32E4106566B for ; Tue, 22 Feb 2011 23:13:51 +0000 (UTC) (envelope-from Henner.Heck@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.freebsd.org (Postfix) with ESMTP id A21288FC0C for ; Tue, 22 Feb 2011 23:13:51 +0000 (UTC) Received: from smtp04.web.de ( [172.20.0.225]) by fmmailgate01.web.de (Postfix) with ESMTP id 09FD01899CC5F for ; Wed, 23 Feb 2011 00:13:50 +0100 (CET) Received: from [95.112.167.20] (helo=[192.168.1.10]) by smtp04.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #2) id 1Ps1QT-0003Rw-00 for freebsd-stable@freebsd.org; Wed, 23 Feb 2011 00:13:50 +0100 Message-ID: <4D64432F.4090104@web.de> Date: Wed, 23 Feb 2011 00:13:51 +0100 From: Henner Heck User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4D6430D9.8060609@web.de> <20110222224332.GA12504@icarus.home.lan> In-Reply-To: <20110222224332.GA12504@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: Henner.Heck@web.de X-Sender: Henner.Heck@web.de X-Provags-ID: V01U2FsdGVkX1/EgeM5J2PQmMtKPeRzpbEatcs7X7D4hqB+42/a tFCe9KfFM3HiWEpGrukE7zS4+AGxxIqBOKxUdAl1XEdz4gzs2o YSLNhYLLM= Subject: Re: FreeBSD 8.2 Release, ZFS + Samba, running out of memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 23:13:52 -0000 I only connect to the BSD system via ssh at the moment, there is no keyboard attached. The ssh shell running "top" doesn't update anymore and doesn't take any input. A new ssh session is not possible. Pressing the power button once does not shut down the machine, i have to keep it pressed for several seconds to power down hard. I will try out disabling "sendfile" and, if i can manage, also try out the patch. This would be my first kernel patch and compilation, so it might take a while to learn. :) Would i run the risk of loosing the patch when running "freebsd-update"? Will the patch be provided by "freebsd-update" at some point? Thank you all for your advice, Henner Heck Am 22.02.2011 23:43, schrieb Jeremy Chadwick: > >> *smb.conf* (a bit anonymized) >> >> [global] >> use sendfile = true > Set this to "false" and the problem might go away. You can try some of > the patches others have recommended as well (which will permit you to > use sendfile going forward), but if you don't want to deal with patches, > the workaround should be fine. > > If you still experience issues after that, possibly some loader.conf > tuning for ZFS is needed. > > Also, one question: when you say "freezes", do you mean "completely > locks up hard" or "the system seems alive but seems to be spending all > of its CPU time doing something else"? Try hitting NumLock on the > system's keyboard to see if the LED toggles on/off; if it does, the > system isn't frozen, but is catatonic to some degree. >