delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <001901c89348$cd86c8b0$06bca8c0 AT bigtower> <A28965E490DE4B4DBE938ECF7CC19C04073F4FB1 AT blums0014 DOT na DOT baesystems DOT com> <47F19881 DOT 2080508 AT byu DOT net> <A28965E490DE4B4DBE938ECF7CC19C04073F4FBF AT blums0014 DOT na DOT baesystems DOT com> |
Subject: | RE: postinstall hang |
Date: | Tue, 1 Apr 2008 15:01:35 +0100 |
Message-ID: | <00b001c89400$e59d20d0$2708a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <A28965E490DE4B4DBE938ECF7CC19C04073F4FBF@blums0014.na.baesystems.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Popper, Samuel (US SSA) wrote on 01 April 2008 14:47: > > > $ NUM=1; while true ; do echo `echo $NUM` ; NUM=$(( $NUM + 1 )); done > > > > > > Hangs pretty quickly, > > > > because it forks a huge number of processes, and each fork is likely to > > be tripped up by a BLODA > > As I understand it, that should fork once per iteration. > > Running with cut-down PATH: > > [samuel DOT popper AT localhost ~]$ echo $PATH > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin > [samuel DOT popper AT localhost ~]$ NUM=1; while true ; do echo `echo $NUM` ; > NUM=$(( $NUM + 1 )); done 1 > 2 > > Here, it hung after 2 iterations. The default /etc/profile forks more > than that! FWIW, can't reproduce it here on XPSP2 with cygwin 1.5.23. > Other than sneaking in via PATH, the only moderately intrusive thing > running on the system is Sysinternal's ProcessExplorer. But I tried > running with that closed, and it made no difference. > > Is there anything else that could contribute to BLODA? Yes, absolutely anything that hooks or injects into processes. Try using procexp to get a list of DLLs from the stuck bash processes, and let us know what's there. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |