X-Recipient: archive-cygwin@delorie.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:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=qS3B3coemhQ6Ahy3mwJ4/P3R/CDRNPP9DW2s6dMWvcpbuQ9vvKsr9
	hMoQFE14G/6uwoV1fFpp5WBNByT5RhVMpn2JdJDuPYmlz8sLWESkmiKMVzJgXrEZ
	XR+zsXWodRGLZKF9v1hEC5tt/bcWKV7id/vuVuuJXXKlvgBxoSPWok=
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:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=RiAd+7ABeZdfqLWK/PkSMrTydpI=; b=HpsxfFMQ2weDHiHLjTpecWFBiBly
	giRlTetAlODe3pTFcZOhWrprFYTAf3xnqVDPgT+04zENTGfs1DCKhN/KYVMd3ufN
	XcdFx1JtmM5Y3rg4yiOPJgDS5OJiqVZGwmHN+2LufE5G1TUj2V/6qCbRUzDlPGcI
	b5cpBpxw9W+NBKw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-95.6 required=5.0 tests=AWL,BAYES_05,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=mario, Mario, ulimit, barcala
X-HELO: calimero.vinschen.de
Date: Thu, 2 Jun 2016 12:56:57 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ulimit system wide
Message-ID: <20160602105657.GA12448@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20160602083202.GB22966@nlpgo.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr"
Content-Disposition: inline
In-Reply-To: <20160602083202.GB22966@nlpgo.com>
User-Agent: Mutt/1.6.1 (2016-04-27)

--PNTmBPCT7hxwcZjr
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jun  2 10:32, Mario Barcala wrote:
> Hi all:
>=20
> 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.
>=20
> 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.
>=20
> 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

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--PNTmBPCT7hxwcZjr
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXUBD5AAoJEPU2Bp2uRE+gvmkP/RbpZuWkScrPzGgqFIO4c8uE
15bWIR6ny3xQL/4N3EQXNN/xeuFILfAkLnYgmWWqzUNbHFDBqGbgU8m+R+57TRsa
kNXsRDiZpQp9l9j/SvdpBiDVqE03X+6TMUG7FMN2WNo3//9KjHhojovJYsfwavLs
GLIiJhd+SpdkGfcgqKTd71MVSe3/OGwlKw0c7jF6ytGVaz6eOqNshUtAWnDOOPw1
f7A+b1J2rXZHlA+S2/nrNeCz5nET/bGxtvtzXbI0Frie34g/IeOC6q/3Y0GDiIVS
MEUV2k5sa7jcJMj5Jp2JxuiVxjbTkEgN4CZEru+1Gp1GN8ugDiDB1/VLeqy2ob1N
u2/Hd7NMbB3UmDBiL3b9USCyuckxJlUZ6V0Adm+psAIoD0phS6E4Cd5TMPqAqO6r
WGPLxhClKZiIZJAufYcTKSQUQ+Ntiz+yOdSHx9BMBmPhAhNeswWwG1YAnA4avKip
ak8ztOfN/tYgIziDAQau7w0at5xrg8mYa7nk5HUEUkUHau4iN2npXQtHNkFsEiXF
tO061neZpHxoQGsp3rjPiqGE2Hu596SaexAmU3NCLz7hkwpt0B/5oocBbBnQaOab
fxlLUO1XSVS6jfiiDlSmJkSKXTx7+h6pCNf8MUKZKVZGSt6I39NkVsnL8ffvDnd5
wurT8bPkKX5NFHhWE1EK
=Z/OW
-----END PGP SIGNATURE-----

--PNTmBPCT7hxwcZjr--
