[ale] fork killer

Josh Murrah jmurrah at spaceghost.salug.org
Wed Nov 12 09:18:57 EST 1997


My experience with recent RedHat has been that this program will cause
fork errors, as like you said there is a max. number of proceses.
However, even with this limitation under RedHat, I still managed to drive
the load to 280.


Josh Murrah, jmurrah at salug.org, http://www.salug.org/~jmurrah, ICQ 4613433
------------------------~~~===<[^]>===~~~----------------------------
This mail is a natural product.  The slight variations in spelling and
grammar enhance its individual character and beauty and in no way are to
be considered flaws or defects.

On Wed, 12 Nov 1997, Geoffrey Myers wrote:

> Christopher Fowler wrote:
> 
> > What can keep someone from running this program and taking down linux
> > box
> > ---- cut here ----
> > #include <unistd.h>
> > main()
> > {
> >         int X=0;
> >         do
> >                 fork();
> >         while ( X == 0 )
> >         return 0;
> > }
> > ---------------------
> 
> I don't have enough experience with Linux, but I do know that in
> SVR3/SVR4 you could limit the maximum number of processes per user via
> kernel tunables.  Is this possible under Linux?
> 
> --
> Until later: Geoffrey           geof at abraxis.com
> 
> 
> 
> 






More information about the Ale mailing list