This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
strace of 100% CPU usage
- To: cygwin developers <cygwin-developers at sourceware dot cygnus dot com>
- Subject: strace of 100% CPU usage
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 12 Oct 2000 06:29:04 -0700 (PDT)
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