Ulimit under cygwin

Corinna Vinschen corinna-cygwin@cygwin.com
Tue May 22 16:49:00 GMT 2007


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/



More information about the Cygwin mailing list