FreeBSD 8.2 Release, ZFS + Samba, running out of memory
Henner.Heck at web.de
Tue Feb 22 23:13:52 UTC 2011
I only connect to the BSD system via ssh at the moment, there is no
The ssh shell running "top" doesn't update anymore and doesn't take any
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
This would be my first kernel patch and compilation, so it might take a
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,
Am 22.02.2011 23:43, schrieb Jeremy Chadwick:
>> *smb.conf* (a bit anonymized)
>> 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.
More information about the freebsd-stable