ulimit system wide

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jun 2 10:57:00 GMT 2016


On Jun  2 10:32, Mario Barcala wrote:
> Hi all:
> 
> Duplicity does not work inside cygwin default installation because it
> needs more or equal than 1024 into max open files. If we run ulimit
> -n, we get 256. If we run ulimit -n 1024, and then ulimit -n, we get
> 1024, and this way duplicity works fine from terminal.
> 
> But we want to launch duplicity from crontab and we don't know how to
> change ulimit system wide to avoid duplicity failing from crontab.
> 
> Any hint about how to solve this problem?

The ulimit value is more or less faked.  There's no systemwide limit at
all.  What about a script which sets the limit to 1024 prior to calling
duplicity?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160602/a24385e1/attachment.sig>


More information about the Cygwin mailing list