home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / hp / 13029 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.9 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!doc.ic.ac.uk!uknet!mucs!uts.mcc.ac.uk!mbdtsmc
  2. From: mbdtsmc@uts.mcc.ac.uk (M.D.Cooper)
  3. Newsgroups: comp.sys.hp
  4. Subject: set/getrlimit and cpu limits
  5. Keywords: setrlimit getrlimit cpu limits resources
  6. Message-ID: <6778@m1.cs.man.ac.uk>
  7. Date: 17 Nov 92 16:36:59 GMT
  8. Sender: news@cs.man.ac.uk
  9. Organization: Manchester Computing Centre, Manchester, England, M13 9PL.
  10. Lines: 29
  11. Originator: netnews@uts.mcc.ac.uk
  12.  
  13. I'm trying to install NQS on a cluster of HP700s and we have a problem
  14. with the limits. The NQS software offers a number of limits which can
  15. be applied to each job executed on a per process and/or per request
  16. basis. Unfortunately, according to the man pages, setrlimit() and
  17. getrlimit() only appear to support two of the limits. The two which are
  18. supported are: RLIMIT_NOFILE and RLIMIT_OPEN_MAX which are both the
  19. number of files which a process can have open at any one time.
  20.  
  21. In order for a sensible batch queueing environment to operate it must be
  22. possible to limit jobs in specific queues by the amount of cpu time
  23. which they consume (so that short jobs can run at higher priority etc.)
  24. and so to the question:
  25.  
  26. Is there any way in which these limits can be enforced? If so how?
  27. Could anyone who knows please send a response either by email (to:
  28. mbdtsmc@uts.mcc.ac.uk) or by posting to this group.
  29.  
  30. Thanks in advance,
  31.  
  32. Matt Cooper
  33.  
  34. ===================================================================
  35.  Matt Cooper                            Theoretical Chemistry Group
  36.                                         Department of Chemistry
  37.  Telephone: (+44) 61-275-4681           University of Manchester
  38.  FAX:       (+44) 61-275-????           Brunswick Street
  39.  JANET:     mbdtsmc@uk.ac.mcc.uts       Manchester, M13 9PL
  40.  Internet:  mbdtsmc@uts.mcc.ac.uk       United Kingdom
  41. ===================================================================
  42.