delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/22/16:19:25

X-Spam-Check-By: sourceware.org
Date: Thu, 22 Dec 2005 16:19:14 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Please try a snapshot - final push for 1.5.19
In-Reply-To: <Pine.GSO.4.63.0512211940560.8494@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.63.0512221153370.2395@slinky.cs.nyu.edu>
References: <20051221162249 DOT GA9890 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 63 DOT 0512211200200 DOT 8494 AT slinky DOT cs DOT nyu DOT edu> <20051221200117 DOT GA5691 AT panix DOT com> <20051222003056 DOT GB24185 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 63 DOT 0512211940560 DOT 8494 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

---559023410-758783491-1135286354=:21750
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 21 Dec 2005, Igor Pechtchanski wrote:

> > >On Wed, Dec 21, 2005 at 12:17:09PM -0500, Igor Pechtchanski wrote:
> > >> I've been having problems with "fork: resource unavailable" on my
> > >> machine with the 10/03 snapshot.  The problem is only reproducible
> > >> after Cygwin has been running for a while, under a heavy load.
> > >> I'll try to see if it appears under the 12/20 snapshot, but there's
> > >> no guarantee I'll be able to reproduce it in time for the release.
> > >> I know this isn't much of a bug report, but this is just a
> > >> heads-up.
>
> Okay, I was wrong.  I did reproduce the problem with essentially the
> same strace under the 12/20 snapshot (sorry, still not the latest, but
> I'm building a debug version of cygwin1.dll from cvs HEAD now).  More
> details when I have them.
> 	Igor

I can't reproduce the original problem at all with cvs HEAD, which is
likely due to CGF's recent changes to pinfo.cc (for which he has my
heartfelt thanks!).

Here's another problem I'm having (both cvs HEAD self-built DLL and the
12/20 snapshot): '/bin/kill -9 -PGID' sometimes leaves stale unkillable
processes around.  Attempting to kill the processes with anything other
than '/bin/kill -f' results in the following message:

kill: 6364: Resource temporarily unavailable

If left alone, after a while the processes print to the console:

C:\cygwin\bin\bash.exe (6364): *** WFSO timed out after longjmp

At other times, the processes are not in the Cygwin process table anymore,
but do show up in 'ps -W' output as

     9844       0       0       9844    ?    0 11:59:58 *** unknown ***

The attached script reproduces this problem for me in one of about 3-4
tries, on a single-processor WinXP Pro SP1.  It is distilled from a much
larger script I have at work.

FWICS, this is *not* a regression from 1.5.18 or the previous snapshots,
but I hope I can help get this fixed.  I can post the cygcheck output and
straces for the attached script if they are likely to be useful...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
---559023410-758783491-1135286354=:21750
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=spawnprocs.sh
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT GSO DOT 4 DOT 63 DOT 0512221619140 DOT 21750 AT slinky DOT cs DOT nyu DOT edu>
Content-Description: 
Content-Disposition: attachment; filename=spawnprocs.sh

IyEvYmluL2Jhc2gNCg0KcnVuT25lKCkgew0KIyBDcmVhdGUgYSBtYWluIHBy
b2Nlc3MgZ3JvdXAgcnVubmluZyAiZWNobyAtbiAnJyIsDQojIGFuZCBhICJk
ZWFkbWFuIHRpbWVyIiBwcm9jZXNzIGdyb3VwIHRoYXQgd2FpdHMgNjAgc2Vj
b25kcyBhbmQNCiMgdGhlbiBraWxscyB0aGUgbWFpbiBwcm9jZXNzIGdyb3Vw
Lg0KIyBJZiB0aGUgbWFpbiBwcm9jZXNzIGdyb3VwIGVuZHMgYmVmb3JlIHRo
ZSB0aW1lciBwcm9jZXNzDQojIGdyb3VwLCB0aGUgdGltZXIgcHJvY2VzcyBn
cm91cCBpcyBraWxsZWQuDQoNCiAgIyBjcmVhdGUgYSBuZXcgcHJvY2VzcyBn
cm91cCBzbyB0aGF0IHRoZSBtYWluIGpvYg0KICAjIGFuZCBhbGwgb2YgdGhl
IGl0cyBkZXNjZW5kYW50IHByb2Nlc3NlcyBjYW4gYmUgdGVybWluYXRlZA0K
ICAjIGFzIGEgd2hvbGUNCiAgcGVybCAtZSAnc2V0cGdycCgwLDApO2V4ZWMo
QEFSR1YpJyBiYXNoIC1jICJlY2hvIC1uICcnIiAmICAgICMgc3Bhd24gbWFp
biBqb2INCiAgbG9jYWwgcGlkTWFpbj0kISAgICMgcGlkIG9mIG1haW4gam9i
DQogIHBlcmwgLWUgJ3NldHBncnAoMCwwKTtleGVjKEBBUkdWKScgYmFzaCAt
YyAic2xlZXAgNjA7IC91c3IvYmluL2tpbGwgLTkgLSRwaWRNYWluIiAmICMg
c3Bhd24gdGltZXIgam9iDQogIGxvY2FsIHBpZFRpbWVyPSQhICAjIHBpZCBv
ZiB0aW1lciBqb2INCiAgd2FpdCAkcGlkTWFpbiAgICAgICMgd2FpdCB1bnRp
bCBtYWluIGpvYiBmaW5pc2hlcw0KICAgICAgICAgICAgICAgICAgICAgIyBl
aXRoZXIgbm9ybWFsbHkgb3IgdGhyb3VnaCB0aGUgdGltZXINCiAgL3Vzci9i
aW4va2lsbCAtOSAtJHBpZFRpbWVyICMga2lsbCB0aGUgdGltZXIgam9iDQp9
DQoNCmZvciBpIGluIDEgMiAzIDQgNSA2IDcgOCA5IDEwOyBkbw0KICBydW5P
bmUNCiAgcnVuT25lDQogIHJ1bk9uZQ0KICBydW5PbmUNCiAgcnVuT25lDQpk
b25lDQpleGl0IDANCg==


---559023410-758783491-1135286354=:21750
Content-Type: text/plain; charset=us-ascii

--
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/
---559023410-758783491-1135286354=:21750--

- Raw text -


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