On Fri, Aug 24, 2018 at 07:19:41AM +0200, Frédéric wrote:
Hi,
It happens sometimes that someone launches a process that uses too
much memory. Then the computer starts swapping leaving the computer
completely out of use. When the swap is full (I guess), the process is
automatically killed and we can work again. But this can last 10-15
minutes.
Would it be possible to kill any process using more than some LIMIT
memory? The aim being to kill it before it starts swapping.
Note that I am using F27 for now.
Thanks in advance,
I've never had to use it, but what about setting
the process max memory with "ulimit -m"?
jl
--
Jon H. LaBadie jonfu(a)jgcomp.com