This is the mail archive of the cygwin@cygwin.com 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]

win2k "resource" exhaustion problem - no Cygwin programs will run


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/


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