Re: auto-kill process using too much memory

2018-08-25 Thread Jon LaBadie
On Sat, Aug 25, 2018 at 06:47:34PM +0200, Frédéric wrote: > > I've never had to use it, but what about setting > > the process max memory with "ulimit -m"? > > Thanks, it seems to work. I can put it in .bashrc. > > F That will affect every process you run. An alternative is a short script that

Re: auto-kill process using too much memory

2018-08-25 Thread Gordon Messmer
On 08/25/2018 09:47 AM, Frédéric wrote: Thanks, it seems to work. I can put it in .bashrc. Note: System policies belong in /etc/security/limits.conf. Otherwise, they're optional.  (Users can remove them). ___ users mailing list -- users@lists.fedor

Re: auto-kill process using too much memory

2018-08-25 Thread Frédéric
> I've never had to use it, but what about setting > the process max memory with "ulimit -m"? Thanks, it seems to work. I can put it in .bashrc. F ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.

Re: auto-kill process using too much memory

2018-08-24 Thread Jon LaBadie
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 kill