Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 14:00:23 +0200
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Limiting resources in cron jobs
Message-ID:  <200905201400.23721.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <43B3CD0F-BDCB-4DEC-9E17-E0D7A8287FDE@strauser.com>
References:  <43B3CD0F-BDCB-4DEC-9E17-E0D7A8287FDE@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 16 May 2009 19:27:22 Kirk Strauser wrote:

> www:\
>
>          :cputime=300:\
>          :tc=default:
>
> I've run "cap_mkdb /etc/login.conf" to make that live.  Then, I used
> vipw to change www's class:
>
> www:*:80:80:www:0:0:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
>
> However, I can trigger the error condition and watch the child
> Ghostscript process run for 6-7 minutes before I kill it.

Check with top what the CPU time is, it's not the same as the wall clock.
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905201400.23721.mel.flynn%2Bfbsd.questions>