Re: OOM?

From: Jason Gunthorpe (jgg@ualberta.ca)
Date: Mon Jun 26 2000 - 14:10:12 EST


On Mon, 26 Jun 2000, Alan Cox wrote:

> > What happens is some script/program has a bug and manages to consume
> > memory in a loop, fairly slowly over a time. Today it was a perl script, a
> > few months ago it was wml and I think I've seen rsync+ftpds do it too..
>
> It depends what limits you have set on it

You mean ulimit? That was eventually what I did for the WML stuff, this
perl thing is new.
 
> > Frankly, this sucks. I would much rather the kernel panic and reboot
> > itself than die like this, it takes days for someone to get on site and
> > restart the box by hand :<
>
> Compile in the softdog driver and run the softdog daemon.

That is a very good idea, but what if the OOM killer skips over the
softdoc daemon like it did apache that one time?

Thanks,
Jason

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:09 EST