From owner-freebsd-questions@FreeBSD.ORG Wed May 20 12:00:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DF8D10656BA for ; Wed, 20 May 2009 12:00:42 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id B902C8FC19 for ; Wed, 20 May 2009 12:00:41 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 9E9DA7E837; Wed, 20 May 2009 04:00:40 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 20 May 2009 14:00:23 +0200 User-Agent: KMail/1.11.3 (FreeBSD/8.0-CURRENT; KDE/4.2.3; i386; ; ) References: <43B3CD0F-BDCB-4DEC-9E17-E0D7A8287FDE@strauser.com> In-Reply-To: <43B3CD0F-BDCB-4DEC-9E17-E0D7A8287FDE@strauser.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905201400.23721.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: Limiting resources in cron jobs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 12:00:42 -0000 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