[98111] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Process limit

daemon@ATHENA.MIT.EDU (Kevin A. Pieckiel)
Fri Nov 6 16:28:45 1998

Date: Fri, 06 Nov 1998 15:29:18 -0600 (CST)
From: "Kevin A. Pieckiel" <kapieckiel@Harding.edu>
To: Red Hat Mailing List <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Is there a way to limit the number of procs a user can run on the
system at any given time?  I wrote a program like this:

while (1)
{
  fork ();
}

Though other users can still log in and do stuff, the system
drags so slowly that it literally takes over a minute to cycle
through and get any response from the process.  Any malicious
user can log in and do this; this is not a good thing.  I also
noticed, just FYI, that it crashes Solaris 2.3.

Kevin

---
        |\      _,,,---,,_
 ZZZzz  /,`.-'`'    -.  ;-;;,_
       |,4-  ) )-,_. ,\ (  `'-'         Kevin Alan Pieckiel
      '---''(_/--'  `-'\_)              kapieckiel@harding.edu


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post