Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2022 20:14:57 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        ralph41096 <ralph41096@protonmail.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Out-of-swap killer and SIGTERM signal
Message-ID:  <76ec92c8-2ace-e526-45b3-58fcd4ecc061@grosbein.net>
In-Reply-To: <ulzJKQSiG37ZtJR9pE-IasT-K1hqpq__htA_JbNJkDkVLD4MeGtXg59rltE6VhKB74U8ztlapijvd6i62-QJ_CVDrOdWubywhbWznmwVa1U=@protonmail.com>
References:  <ulzJKQSiG37ZtJR9pE-IasT-K1hqpq__htA_JbNJkDkVLD4MeGtXg59rltE6VhKB74U8ztlapijvd6i62-QJ_CVDrOdWubywhbWznmwVa1U=@protonmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
10.01.2022 19:55, ralph41096 wrote:

> Do you think it would be a good idea to introduce the following soft
> mode for the Out-of-swap killer?
> 
> Old behaviour:
>   1) If there is no free swap space left, send SIGKILL signals to the
>      condemned processes. (This is the hard mode.)
> 
> New behaviour:
>   1) If there is less than 2 GiB of free swap space, send SIGTERM

Keep in mind that swap is optional feature and there are systems running without any swap configured.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76ec92c8-2ace-e526-45b3-58fcd4ecc061>