*BSD News Article 37571


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!uunet!gatech!howland.reston.ans.net!EU.net!uknet!festival!edcogsci!richard
From: richard@cogsci.ed.ac.uk (Richard Tobin)
Subject: cputime limit
Message-ID: <CynFDM.vo@cogsci.ed.ac.uk>
Organization: HCRC, University of Edinburgh
Date: Wed, 2 Nov 1994 16:34:34 GMT
Lines: 32

[FreeBSD 1.1.5.1]

Is the following behaviour intended?  Is it documented anywhere?

bash$ ulimit -t 3
bash$ ulimit -Ht 10
bash$ time ./busy
Command terminated abnormally.
        3.03 real         3.00 user         0.03 sys
bash$ ulimit -t
8
bash$ time ./busy
Command terminated abnormally.
        8.03 real         8.00 user         0.02 sys
bash$ ulimit -t
13
bash$ time ./busy
Command terminated abnormally.
       13.04 real        13.00 user         0.04 sys
bash$ ulimit -t
13
bash$ 

I.e. each time the soft limit is exceeded it is increased by five seconds
until it reaches or exceeds the hard limit.

-- Richard
-- 
Richard Tobin, HCRC, Edinburgh University                 R.Tobin@ed.ac.uk

Ooooh!  I didn't know we had a king.  I thought we were an
autonomous collective.