Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2018 10:58:22 +0200 (CEST)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        Yuri <yuri@rawbw.com>
Cc:        Freebsd hackers list <freebsd-hackers@FreeBSD.org>
Subject:   Re: Runaway processes freeze the system
Message-ID:  <alpine.BSF.2.20.1804211057220.36903@puchar.net>
In-Reply-To: <e6655853-07e6-4473-31c6-b35f35990ec5@rawbw.com>
References:  <e6655853-07e6-4473-31c6-b35f35990ec5@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1804211057220.36903>