This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: proc_retry question
- From: xmoon 2000 <xmoon2000 at googlemail dot com>
- To: cygwin <cygwin at cygwin dot com>
- Date: Thu, 11 Dec 2014 09:02:50 +0000
- Subject: Re: proc_retry question
- Authentication-results: sourceware.org; auth=none
- References: <CAOSUUSrPjEAJQNsPKKKPKOVKsVzzR_gsrEApTzZd3nmv-HMQdA at mail dot gmail dot com> <20141208144003 dot GP3810 at calimero dot vinschen dot de> <CAOSUUSo6Wbn4wwLbT_3SnMDFP31MxpKXm2bSLak4dxk72jeekQ at mail dot gmail dot com> <20141208155009 dot GU3810 at calimero dot vinschen dot de> <CAOSUUSpsy=rvbsmFM4d-UN09Sy8PECqE+usNP08Gv6E9frScAg at mail dot gmail dot com> <20141208162733 dot GW3810 at calimero dot vinschen dot de>
On 8 December 2014 at 16:27, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> On Dec 8 16:03, xmoon 2000 wrote:
>> On 8 December 2014 at 15:50, Corinna Vinschen <> wrote:
>> > On Dec 8 14:48, xmoon 2000 wrote:
>> >> On 8 December 2014 at 14:40, Corinna Vinschen <> wrote:
>> >> > On Dec 8 12:40, xmoon 2000 wrote:
>> >> >> I have set proc_retry = 10.
>> >> >>
>> >> >> I still get the following error message but showing rety 10:
>> >> >>
>> >> >>
>> >> >> 0 [main] sh 35392 fork: child -1 - forked process 35736 died
>> >> >> unexpectedly, retry 10, exit code 0xC0000005, errno 11
>> >> >> /q/onlyPastEnd.sh: fork: retry: Resource temporarily unavailable
>> >> >>
>> >> >> Does this mean it got an error and cygwin will now retry 10 times?
>> >> >>
>> >> >> OR does it mean it retry-ed 10 and failed?
>> >> >
>> >> > It tried 10 times and failed.
>> >>
>> >> Are you certain about that?
>> >
>> > No. Sorry, it's the other way around. If retry is 10, no retry
>> > occured. AFAICS that's because you get an C000005 status code, which is
>> > STATUS_ACCESS_VIOLATION. In case of this error code, Cygwin does
>> > explicitely not retry.
>>
>> Do this suggest that I need to do the rebaseall - as documented in:
>> http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-fork-failures
>
> You can try, but this looks a bit different. A SEGV at fork time could
> be a bug in Cygwin or a result of having another Cygwin DLL in the path
> for some reason.
>
>
> Corinna
>
> --
> Corinna Vinschen Please, send mails regarding Cygwin to
> Cygwin Maintainer cygwin AT cygwin DOT com
> Red Hat
Corinna,
I tried "rebasing" but with no luck.
The problem appears when I am running 60 scripts in parallel on a 32
core machine. Plus, each script runs subscripts with several pipes.
So, I think this is a "too many processes" type of issue.
Usually, windows handle my "over-coring" well and my machine just
works through what it needs to do. But when I try this from Cygwin, it
seems to cause issues.
Any thoughts or suggest for how I could get around this?
Moon
--
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