From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23426 invoked from network); 17 Apr 2007 09:31:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.8 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Apr 2007 09:31:16 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 3665 invoked from network); 17 Apr 2007 09:31:10 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Apr 2007 09:31:10 -0000 Received: (qmail 10931 invoked by alias); 17 Apr 2007 09:31:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23280 Received: (qmail 10920 invoked from network); 17 Apr 2007 09:31:04 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 Apr 2007 09:31:04 -0000 Received: (qmail 3307 invoked from network); 17 Apr 2007 09:31:04 -0000 Received: from flpvm23.prodigy.net (207.115.20.53) by a.mx.sunsite.dk with SMTP; 17 Apr 2007 09:31:00 -0000 X-ORBL: [76.211.249.141] Received: from [76.211.249.141] (adsl-76-211-249-141.dsl.pltn13.sbcglobal.net [76.211.249.141]) by flpvm23.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id l3H9VAjG000339; Tue, 17 Apr 2007 02:31:11 -0700 Message-ID: <462493C0.20700@cowan.name> Date: Tue, 17 Apr 2007 02:30:40 -0700 From: Micah Cowan User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: davidpeer@cs.huji.ac.il CC: zsh-workers@sunsite.dk Subject: Re: Bug in ulimit ? References: <46248CC2.4010901@cs.huji.ac.il> In-Reply-To: <46248CC2.4010901@cs.huji.ac.il> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit David Peer wrote: > If the user run: ulimit -t 0, he can run jobs without any cputime > limitation: This sounds more like a kernel problem to me than a zsh bug. I get the same behavior on my Ubuntu 7.04 (beta) system, in _bash_. I note that getrlimit(2) says: In 2.6.x kernels before 2.6.17, a RLIMIT_CPU limit of 0 is wrongly treated as "no limit" (like RLIM_INFINITY). Since kernel 2.6.17, set‐ ting a limit of 0 does have an effect, but is actually treated as a limit of 1 second. However, I'm running 2.6.20(-14-generic), and still experiencing that symptom. -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/