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

cygwin processes and system'ed processes using 100% CPU


General question has anyone else seen processes running under
cygwin using 100% CPU when the shouldn't.
The background is cygwin 1.5.5 I have a perl script which
monitors process cpu levels. It does this using serveral system
calls to other utils, ps, vmstat and pslist ( win32 app from
sysinternals ). The script samples every minute recording the
results.
Now 99% of the time all is fine but sometime when actually
running ( every minute ) it and the utils it spawns most notablly
pslist use 100% cpu. So much so that if you have the desktop
open it will freeze for the few seconds that its sampling for.
Its very strange once its doing it it will continue to do so for each
sample until restarted. The only pattern I can see so far is that
it tends to happen when said script is started from sub shell
script via a ssh -l user "restart.sh"

Anyone seen anything similar? Alternatively what do people
think is the best approch to find the issue? On FreeBSD truss
would be my first port of call.

    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster@multiplay.co.uk.

Attachment: cygcheck.txt
Description: Text document

--
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]