delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/02/04:32:35

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:mime-version
:content-type; q=dns; s=default; b=nmmkWcPbOT7SLUuYE49Mn58ezvrqu
9UJckBNZsuKmydGgddYMXjCbbBJPHKpLXWdIlWKFDuU61snvpQtd2lX6alKRcmZ8
7W7AHwyWb0GWun7fjXMFfkhlF0pGeAj9Bak1Ly86Mng5zKuEDaY7vPcOvaHCIEHp
BCdN9skvxaTPWQ=
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:mime-version
:content-type; s=default; bh=8SNbvHgqTBWpfmI8NqhcptYm7rM=; b=ij1
6NbJZtSMEvSdkLegRaUpaibyEoVeLmYNlEOzEiQdo7wM2l7WpjNSJ7FZXbraNbRt
hDPo7IB6aI13ZH1+42DLQi8v8brYFMvOShWnZt1VvwmvBeZIh8ZSzN/mufWLiVpt
nDBFEuYdErx5KTG6QQJVLAZHdseYrfmrZaS4CVgk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=mario, Mario
X-HELO: slow1-d.mail.gandi.net
Date: Thu, 2 Jun 2016 10:32:02 +0200
From: Mario Barcala <barcala AT nlpgo DOT com>
To: cygwin AT cygwin DOT com
Subject: ulimit system wide
Message-ID: <20160602083202.GB22966@nlpgo.com>
MIME-Version: 1.0
User-Agent: Mutt/1.5.23 (2014-03-12)
X-IsSubscribed: yes

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?

Thank you,

  Mario Barcala

--
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

- Raw text -


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