Re: ulimit system wide

2016-06-02 Thread Mario Barcala
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: >

Re: ulimit system wide

2016-06-02 Thread Corinna Vinschen
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 work

Re: ulimit inconsistency

2010-12-08 Thread Eric Blake
On 12/08/2010 02:11 AM, Csaba Raduly wrote: > After successfully building LLVM + clang, I wanted to run the tests. > The tests start out with > > ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ; > > I understand that there is no support for setting those limits, but > the

Re: Ulimit under cygwin

2007-05-22 Thread Corinna Vinschen
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. > "ul

Re: ulimit -t

2004-02-29 Thread Igor Pechtchanski
On Sun, 29 Feb 2004, Gregory Borota wrote: > Had somebody managed to successfully simulate ulimit -t in a shell script? > > If yes, how? > Greg As one example: . *Not* Cygwin-specific, and thus OT for t

Re: Ulimit

2002-12-05 Thread Igor Pechtchanski
Welly, This is quite possible, as the script was written along with the message, with no testing. You would have a much better chance of debugging it yourself. Some things to check are: - whether 2304 is the WPID or the SPID, - whether the process that you're timing completes, - whether the trap

Re: Ulimit

2002-12-04 Thread Welly Santosa
Igor, Thanks for your reply. I have tried your suggestion, and I got this error message saying that: kill 2304: Operation not permitted where 2304 being the PID. Any more suggestion? Thank you, Welly Igor Pechtchanski wrote: On Thu, 5 Dec 2002, Welly Santosa wrote: Hi, I would like

Re: Ulimit

2002-12-04 Thread Igor Pechtchanski
On Thu, 5 Dec 2002, Welly Santosa wrote: > Hi, > > I would like to set the maximum CPU time into a few minutes only. When I > tried to use ulimit (using CYGWIN), it gave me this: > > $ ulimit -t 100 > bash: ulimit: cpu time: cannot modify limit: Invalid argument > > So, is this option not supporte

Re: ulimit -u X

2002-11-26 Thread Christopher Faylor
On Tue, Nov 26, 2002 at 09:34:12PM -0800, Lee Tuck wrote: >hi, >I am new user to cygwin. I am facing the same problem >regarding ulimit. I hope to set the maximum process >per user id to 300. I have go through the mailing list >but i still can't get any solution. Is there any other >way to set the

Re: ulimit -u X

2002-01-16 Thread Christopher Faylor
On Wed, Jan 16, 2002 at 04:09:28PM -0700, Michael F. March wrote: > >Administrator@maupin ~ >$ ulimit -u 200 >bash: ulimit: cannot modify max user processes limit: Invalid argument > >What am I doing wrong here? You're attempting to modify the max user process limit and you can't do that. cgf -

Re: ulimit -u X

2002-01-16 Thread Corinna Vinschen
On Wed, Jan 16, 2002 at 04:09:28PM -0700, Michael F. March wrote: > > Administrator@maupin ~ > $ ulimit -u 200 > bash: ulimit: cannot modify max user processes limit: Invalid argument > > What am I doing wrong here? Nothing. Setting this limit is just not supported. Corinna -- Corinna Vinsc