strace of 100% CPU usage
Earnie Boyd
earnie_boyd@yahoo.com
Thu Oct 12 06:29:00 GMT 2000
I've attached two straces one using a -f switch the other without it. I was
expecting to get something huge with this as the strace was of the make of
Cygwin. What I found was that an `sh' goes looping waiting on some
non-existant child and during this wait the CPU is 100% used with the waiting
`sh' job getting most of the time. The waiting `sh' job eventually times out
after ~5 minutes. Under strace we get:
... sync_with_child: WaitForMultipleObjects timed out
Cannot fork: No more processes
Make: *** [all-apache] Error 2
where ... is: ######### [main] sh ###
Without the strace the make continues albeit abusivly and slowly.
HTH,
=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com
--- < http://earniesystems.safeshopper.com > ---
--- Cygwin: POSIX on Windows < http://gw32.freeyellow.com/ > ---
--- Minimalist GNU for Windows < http://www.mingw.org/ > ---
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
make-cygwin.strace.gz
make-cygwin-with-f.strace.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-cygwin-with-f.strace.gz
Type: application/x-gzip
Size: 23648 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20001012/48e9fd06/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-cygwin.strace.gz
Type: application/x-gzip
Size: 25251 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20001012/48e9fd06/attachment-0001.bin>
More information about the Cygwin-developers
mailing list