This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: informal report on "fork: Resource temporarily unavailable" incidents


On Mar 28 18:29, Tom Rodman wrote:
> Not expecting help, just sharing.
> 
> We're running windows 2003 server enterprise edition on a quad processor
> HP proliant G3. uname -a results in 
> [CYGWIN_NT-5.2 c7mdcs063 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin].
> 
> Yesterday I ran a script (kicked off in a makefile) to create /etc/passwd
> for a subset of users in our domain.  It failed w/fork errors (see below).
> After the errors showed up I simplified the script by building
> and running a script like:
> 
>   #!/bin/bash
>   mkpasswd -d -u username1
>   mkpasswd -d -u username2
>   mkpasswd -d -u username3
>   .
>   .
> 
> This script (search ahead for "r7867") had about 400 uniq usernames.
> When I ran it on Monday it also failed w/fork errors on random lines.
> 
> When the problem was happening there were ~105 processes running.
> "net start|wc -l" shows 66 services.
> 
> what apparently fixed the problem:
> 
>   This Tuesday morning I came in, I resumed and then closed the vim
>   sessions, closed the ssh sessions, then opened a new ssh session,
>   and then ran the more complex script 100 times in a row and it never
>   failed. Tonight I opened the same files in vim sessions, suspended
>   them, and then ran the job once and it worked fine.
> 
> We're rebooting the server tonight - it's been up just over 1 week.
> 
> Should I try a later snapshot?

That's always a good idea.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]