cygwin 1.5.20-1, spinning pdksh, 100% CPU
Ernie Coskrey
Ernie.Coskrey@steeleye.com
Tue Aug 7 13:14:00 GMT 2007
> -----Original Message-----
> From: Igor Peshansky [mailto:pechtcha@cs.nyu.edu]
> Sent: Monday, August 06, 2007 5:59 PM
> To: Ernie Coskrey
> Cc: cygwin@cygwin.com
> Subject: RE: cygwin 1.5.20-1, spinning pdksh, 100% CPU
>
> On Mon, 6 Aug 2007, Ernie Coskrey wrote:
>
> > > Quite possibly. There were changes to signal handling since
> 1.5.20,
> > > IIRC. Unless I'm mistaken, there's even a patch for a race
> condition
> > > in process handling code (though it's not in 1.5.24, I think).
> >
> > I just want to make sure I understand this - are you talking about a
> > change that has been made since 1.5.24-2 was released, which is in
> the
> > snapshot view now? Or did you mean a fix that was made sometime
> between
> > 1.5.20-1 and 1.5.24-2.
>
> I meant the former, but I don't know if these changes have actually
> fixed
> your problem.
I'll download the latest snapshot and look at what's changed. Do you
remember where the changes might be located - I'd guess somewhere in
sigproc.cc, exception.cc, and/or wait.cc. Or if you remember the date
and/or subject of the email discussion that I could look at, that would
be very helpful as well.
>
> Any particulars about the machines on which this happens? Are they
> multi-core? I don't recall seeing a cygcheck output from an affected
> machine...
> Igor
This happens on a variety of hardware - single-CPU is where it's the
biggest problem since the system becomes nearly unusable. But we've
seen it on multi-core and multi-physical-CPU systems as well.
Here's cygcheck from one of the systems where it's happened a few times:
Cygwin Configuration Diagnostics
Current System Time: Tue Aug 07 09:01:03 2007
Windows 2003 Server Ver 5.2 Build 3790 Service Pack 2
Running in Terminal Service session
Path: c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\SUperior SU
c:\Program Files\Microsoft SQL Server\80\Tools\BINN
C:\LK\bin
c:\SDR
c:\SDR\support
c:\Program files\Debugging Tools for Windows
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
HOME = '/home/Administrator'
Use '-r' to scan registry
a: fd N/A N/A
c: hd NTFS 8662Mb 84% CP CS UN PA FC
d: net NTFS 17351Mb 90% CP CS UN PA FC BUILD
e: cd N/A N/A
h: hd NTFS 4337Mb 1% CP CS UN PA FC Shared_H
i: hd N/A N/A
j: hd NTFS 17367Mb 1% CP CS UN PA FC Shared_J
k: hd NTFS 17367Mb 1% CP CS UN PA FC Shared_K
l: hd NTFS 17343Mb 1% CP CS UN PA FC Shared_L
n: hd NTFS 17476Mb 1% CP CS UN PA FC Shared_N
o: hd NTFS 1027Mb 1% CP CS UN PA FC Shared_O
p: hd N/A N/A
r: hd N/A N/A
s: hd NTFS 69954Mb 1% CP CS UN PA FC iSCSI_S
t: hd NTFS 69954Mb 1% CP CS UN PA FC ISCSI_T
v: net NTFS 8096Mb 73% CP CS UN PA FC
w: net NTFS 1402454Mb 34% CP CS PA coskrey
x: net NTFS 17355Mb 26% CP CS UN PA FC Dev_Y
y: hd NTFS 8665Mb 7% CP CS UN PA FC Vol_Y
z: hd N/A N/A
Found: C:\LK\bin\awk.exe
Found: C:\LK\bin\bash.exe
Found: C:\LK\bin\cat.exe
Found: C:\LK\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\LK\bin\find.exe
Not Found: gcc
Found: C:\LK\bin\gdb.exe
Found: C:\LK\bin\grep.exe
Found: C:\LK\bin\kill.exe
Found: c:\Program files\Debugging Tools for Windows\kill.exe
Not Found: ld
Found: C:\LK\bin\ls.exe
Not Found: make
Found: C:\LK\bin\mv.exe
Not Found: patch
Found: C:\LK\bin\perl.exe
Found: C:\LK\bin\rm.exe
Found: C:\LK\bin\sed.exe
Not Found: ssh
Found: C:\LK\bin\sh.exe
Found: C:\LK\bin\tar.exe
Found: C:\LK\bin\test.exe
Found: C:\LK\bin\vi.exe
Found: C:\LK\bin\vim.exe
56k 2007/07/14 C:\LK\bin\cygbz2-1.dll
7k 2007/07/14 C:\LK\bin\cygcharset-1.dll
7k 2007/07/14 C:\LK\bin\cygcrypt-0.dll
40k 2007/07/14 C:\LK\bin\cygform-8.dll
45k 2007/07/14 C:\LK\bin\cygform5.dll
35k 2007/07/14 C:\LK\bin\cygform6.dll
48k 2007/07/14 C:\LK\bin\cygform7.dll
28k 2007/07/14 C:\LK\bin\cyggdbm-3.dll
30k 2007/07/14 C:\LK\bin\cyggdbm-4.dll
19k 2007/07/14 C:\LK\bin\cyggdbm.dll
15k 2007/07/14 C:\LK\bin\cyggdbm_compat-3.dll
15k 2007/07/14 C:\LK\bin\cyggdbm_compat-4.dll
17k 2007/07/14 C:\LK\bin\cyghistory4.dll
29k 2007/07/14 C:\LK\bin\cyghistory5.dll
24k 2007/07/14 C:\LK\bin\cyghistory6.dll
947k 2007/07/14 C:\LK\bin\cygiconv-2.dll
22k 2007/07/14 C:\LK\bin\cygintl-1.dll
37k 2007/07/14 C:\LK\bin\cygintl-2.dll
31k 2007/07/14 C:\LK\bin\cygintl-3.dll
21k 2007/07/14 C:\LK\bin\cygintl.dll
21k 2007/07/14 C:\LK\bin\cygmenu-8.dll
26k 2007/07/14 C:\LK\bin\cygmenu5.dll
20k 2007/07/14 C:\LK\bin\cygmenu6.dll
29k 2007/07/14 C:\LK\bin\cygmenu7.dll
67k 2007/07/14 C:\LK\bin\cygncurses++-8.dll
156k 2007/07/14 C:\LK\bin\cygncurses++5.dll
175k 2007/07/14 C:\LK\bin\cygncurses++6.dll
227k 2007/07/14 C:\LK\bin\cygncurses-8.dll
226k 2007/07/14 C:\LK\bin\cygncurses5.dll
202k 2007/07/14 C:\LK\bin\cygncurses6.dll
224k 2007/07/14 C:\LK\bin\cygncurses7.dll
12k 2007/07/14 C:\LK\bin\cygpanel-8.dll
15k 2007/07/14 C:\LK\bin\cygpanel5.dll
12k 2007/07/14 C:\LK\bin\cygpanel6.dll
19k 2007/07/14 C:\LK\bin\cygpanel7.dll
176k 2007/07/14 C:\LK\bin\cygpcre-0.dll
299k 2007/07/14 C:\LK\bin\cygpcrecpp-0.dll
6k 2007/07/14 C:\LK\bin\cygpcreposix-0.dll
22k 2007/07/14 C:\LK\bin\cygpopt-0.dll
108k 2007/07/14 C:\LK\bin\cygreadline4.dll
148k 2007/07/14 C:\LK\bin\cygreadline5.dll
152k 2007/07/14 C:\LK\bin\cygreadline6.dll
65k 2007/07/14 C:\LK\bin\cygz.dll
1836k 2007/07/14 C:\LK\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.20
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Mon Jul 10 15:19:52 EDT 2006
Shared id: cygwin1S4
Can't find the cygrunsrv utility, skipping services check.
Cygwin Package Information
No setup information found
Use -h to see help about each section
'id' program not found
'id' program not found
cygcheck: dump_sysinfo: GetVolumeInformation() for drive I: failed: 5
cygcheck: dump_sysinfo: GetVolumeInformation() for drive P: failed: 5
cygcheck: dump_sysinfo: GetVolumeInformation() for drive R: failed: 5
cygcheck: dump_sysinfo: GetVolumeInformation() for drive Z: failed: 87
Ernie
--
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/
More information about the Cygwin
mailing list