X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=qxTD M6o2TqeGP4pDGlS1T+YxbS6kGpqWgtwo10AYzU1foOH/gDbCAi1qAHDZBix43vbz XejtNlpr4kVooLHugS729chns7+IzUvQcaEPbMF5AJ2iLHeCDat375GacewJDQtZ egGEHCuKo4czk5NXdUvj6zpx4s0zRt3n/55eloo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=5NMrUVKhy/ B9laC+A332eIzT5mU=; b=JibCbZzv2qs2YS9ewNETmqG4DfXQ6V2AepuxqCGLA+ A94SW/fB7AXgyUpcxO8On8OLArMEiwtEo4zEnFwJqrVL0+RGSe8d+6ujBRvfzPU0 oRrIJXN83lCh7+nWsexwMjXssfR9T5EGYI1K4QvpZ+GDrxFwaJKwRhJUlIFcDOIk U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy= X-HELO: relay6-d.mail.gandi.net Date: Thu, 2 Jun 2016 18:37:07 +0200 From: Mario Barcala To: cygwin AT cygwin DOT com Subject: Re: ulimit system wide Message-ID: <20160602163707.GA24531@nlpgo.com> References: <20160602083202 DOT GB22966 AT nlpgo DOT com> <20160602105657 DOT GA12448 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160602105657.GA12448@calimero.vinschen.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes Hi Corina: We have solved it developing two bash scripts: the first one set ulimit and calls the second one which includes the duplicity call. I think ulimit command must be included in a parent bash process. Many thanks, Mario Corinna Vinschen wrote: > 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 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple