Runaway processes freeze the system
Wojciech Puchar
wojtek at puchar.net
Sat Apr 21 08:58:33 UTC 2018
> size should reduce the chance of this happening, but it obviously can't
> eliminate the problem.
>
>
> What is the expected behavior of the system in such situation? To me it looks
> like it is wait-and-see, and this causes this problem.
>
> A better strategy would be to maybe wait for some time, but if when the
> problem persists to kill the largest, the most active, or the offending
> process.
>
>
> 11.1 amd64
it's better to have more swap than memory.
second it's good to use ulimit to prevent overallocating memory
you may just edit login.conf and do
cap_mkdb /etc/login.conf
and relogin
More information about the freebsd-hackers
mailing list