home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 5043 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.4 KB  |  30 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!wupost!gumby!yale!mintaka.lcs.mit.edu!spdcc!dirtydog.ima.isc.com!newsserver.pixel.kodak.com!kodak!sunshine!dennett
  3. From: dennett@sunshine.Kodak.COM (Charlie Dennett)
  4. Subject: Can I limit the number of concurrent processes *per user*?
  5. Message-ID: <1992Jul28.171454.11255@kodak.kodak.com>
  6. Sender: news@kodak.kodak.com
  7. Organization: Eastman Kodak Co., Rochester, NY
  8. Date: Tue, 28 Jul 92 17:14:54 GMT
  9. Lines: 19
  10.  
  11. I have a user who is writing a program that uses the fork system call.
  12. I'm not familiar myself with the ins and outs of this call, but those
  13. of you who are can probably guess what problems he is creating.  He
  14. ends up with a gazillion copies of his program running at once.  The
  15. only thing that limits him is the maximum number of total processes
  16. that the system as a whole can run.
  17.  
  18. What I'd like to do (besides the obvious) is to limit the number of
  19. processes this particular user (or any user for that matter) can have
  20. at any one time.  Can it be done? I know maxusers can limit the size of
  21. the systems process table, but is is possible to limit individual
  22. users?
  23.  
  24. Thanks for any help.
  25.  
  26. Charles Dennett          | Rochester Distributed Computer Services
  27. Mail Stop 01816          |   Customer Technical Support Services
  28. Eastman Kodak Company    | ---------------------------------------
  29. Rochester, NY 14650-1816 |       Internet: dennett@Kodak.COM
  30.