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