On Sun, 6 May 2001, Kris Kennaway wrote:
> On Sat, May 05, 2001 at 02:37:07PM -0700, Dennis Glatting wrote:
> > 
> > I wrote a trivial program to fill vm and found I can reliably freeze my
> > system. It may not work on the first attempt, but certainly within three.
> > My command line is:
> > 
> >     a.out&;a.out&;a.out&;a.out&;a.out&
> 
> What resource limits have you set?

In theory, the code at line 1124 and further in vm_pageout.c
should kill of of these processes and allow the system to
survive. The only way for the system to die is if this code
was broken by a recent change in the system...

[but yes, on a production system you'd want to run with sane
resource limits]

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/         http://distro.conectiva.com/

Send all your spam to [EMAIL PROTECTED] (spam digging piggy)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to