From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29175 invoked by alias); 11 Sep 2003 20:41:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 28962 invoked from network); 11 Sep 2003 20:41:42 -0000 Received: from unknown (HELO web10004.mail.yahoo.com) (216.136.130.40) by sources.redhat.com with SMTP; 11 Sep 2003 20:41:42 -0000 Message-ID: <20030911204141.6110.qmail@web10004.mail.yahoo.com> Received: from [67.5.129.240] by web10004.mail.yahoo.com via HTTP; Thu, 11 Sep 2003 13:41:41 PDT Date: Thu, 11 Sep 2003 20:41:00 -0000 From: james pentland Subject: win2k "resource" exhaustion problem - no Cygwin programs will run To: cygwin@cygwin.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-09/txt/msg00713.txt.bz2 dear Cygwin developers: i have a bash script which apparently causes an exhaustion of system resources. which "resources" i am unclear about - it does not seem to be memory. the consequences of running it, at a minimum, are that 1) the script fails at some point, 2) no further Cygwin executables will run, 3) dialout to an internet service provider fails, 4) a number of non-Cygwin executables do not operate properly. below is a simple script which will make the problem happen and a partial transcript of a Cygwin console session where it is invoked. do you have any ideas on this issue? [[--]] TRANSCRIPT OF CONSOLE SESSION Administrator@ZOK /ntd/new $ cat yawfu-sh #!/bin/bash let nn=1 ls -ltR /nt0/WINNT > /tmp/WINNT-lsR while : ; do cat /tmp/WINNT-lsR | sed -n -e "/.*/p" > /tmp/p1 echo COUNT=$nn ((nn=$nn+1)) done Administrator@ZOK /ntd/new $ cygcheck -s: Cygwin Win95/NT Configuration Diagnostics [...] Windows 2000 Professional Ver 5.0 Build 2195 [...] Cygwin DLL version info: DLL version: 1.3.18 [...] Administrator@ZOK /ntd/new $ ./yawfu-sh COUNT=1 COUNT=2 COUNT=3 [...] COUNT=1640 COUNT=1641 COUNT=1642 COUNT=1643 ./yawfu-sh: line 7: /usr/bin/sed: Permission denied ./yawfu-sh: line 7: /usr/bin/cat: Permission denied COUNT=1644 ./yawfu-sh: line 7: /usr/bin/cat: Permission denied COUNT=1645 ./yawfu-sh: line 7: /usr/bin/cat: Permission denied COUNT=1646 ./yawfu-sh: line 7: /usr/bin/cat: Permission denied 5 [main] bash 16184 sync_with_child: child 42548(0x118) died before initia lization with status code 0x80 309 [main] bash 16184 sync_with_child: *** child state waiting for longjmp ./yawfu-sh: fork: Resource temporarily unavailable Administrator@ZOK /ntd/new $ ls /tmp bash: /usr/bin/ls: Permission denied [[--]] RESULT OF SUBSEQUENT ATTEMPT TO RUN CYGWIN SHELL [ shell window appears, then disappears immediately] [[--]] RESULT OF LATER ATTEMPT TO RUN CYGWIN SHELL bash: fork: Permission denied bash-2.05b$ bash-2.05b$ bash-2.05b$ ls bash: /usr/bin/ls: Permission denied bash-2.05b$ [[--]] RESULT OF SUBSEQUENT ATTEMPT TO DIAL TO INTERNET PROVIDER WARNING POPUP: Error connecting to usernet Checking network protocol connections ,,, TCP/IP CP reported error 1453: insufficient quota to complete the requested service [[--]] RESULT OF SUBSEQUENT ATTEMPT TO RUN notepad.exe [notepad runs, but can not open a file, reports "insufficient resources"] __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- 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/