This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ulimit under cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]