delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/22/11:43:25

X-Spam-Check-By: sourceware.org
Date: Tue, 22 May 2007 17:42:56 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019