X-Spam-Check-By: sourceware.org Date: Tue, 22 May 2007 17:42:56 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Ulimit under cygwin Message-ID: <20070522154256.GL6003@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1179846027 DOT 3834 DOT 8 DOT camel AT localhost DOT localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1179846027.3834.8.camel@localhost.localdomain> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On May 22 16:00, sabbella wrote: > Hi, > I have problems with a function in my shell script. It contains > commands to set the soft and hard ulimits. This works fine on Linux. But > I have problems on cygwin. I tried to change the soft and hard ulimits > > I get the following error message. > "ulimit : cpu time: file size:cannot modify limit : invalid argument". setrlimit(RLIMIT_CPU) isn't implemented in Cygwin. > If I can't modify the ulimit under cygwin, please can you suggest me > with an alternative. An alarm timer maybe. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/