| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <01c601c3e4e3$f186d380$b3db87d4@multiplay.co.uk> |
| From: | "Steven Hartland" <killing AT multiplay DOT co DOT uk> |
| To: | <cygwin AT cygwin DOT com> |
| References: | <40164D3D DOT 3080601 AT dynaware DOT de> <20040127122719 DOT GH2120 AT bln DOT sesa DOT de> <Pine DOT GSO DOT 4 DOT 56 DOT 0401270841580 DOT 2972 AT slinky DOT cs DOT nyu DOT edu> |
| Subject: | cygwin processes and system'ed processes using 100% CPU |
| Date: | Tue, 27 Jan 2004 14:43:35 -0000 |
| MIME-Version: | 1.0 |
| X-Spam-Processed: | multiplay.co.uk, Tue, 27 Jan 2004 14:35:12 +0000 (not processed: message from valid local sender) |
| X-MDRemoteIP: | 212.135.219.179 |
| X-Return-Path: | killing AT multiplay DOT co DOT uk |
| X-MDaemon-Deliver-To: | cygwin AT cygwin DOT com |
| X-IsSubscribed: | yes |
------=_NextPart_000_01C3_01C3E4E3.F173C0B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
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 AT multiplay DOT co DOT uk.
------=_NextPart_000_01C3_01C3E4E3.F173C0B0
Content-Type: text/plain;
name="cygcheck.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="cygcheck.txt"
cygcheck.exe -src
Cygwin Package Information
Package Version Status
_update-info-dir 00221-1 OK
apache 1.3.24-5 Incomplete
ash 20031007-1 OK
autoconf 2.57a-1 OK
autoconf-devel 2.57-2 OK
autoconf-stable 2.13-5 OK
automake 1.7.5a-1 OK
automake-devel 1.7.6-2 OK
automake-stable 1.4p5-6 OK
base-files 2.6-1 OK
base-passwd 1.1-1 OK
bash 2.05b-16 OK
binutils 20030901-1 OK
bzip2 1.0.2-5 OK
check 0.8.4-1 OK
cmake 1.8.1-1 OK
cpio 2.5-3 OK
cron 3.0.1-11 OK
crypt 1.1-1 OK
cvs 1.11.6-3 OK
cygrunsrv 0.96-2 OK
cygutils 1.2.2-1 OK
cygwin 1.5.5-1 OK
db2 2.7.7-4 OK
db3.1 3.1.17-2 OK
db4.1 4.1.25-1 OK
diffutils 2.8.4-1 OK
editrights 1.01-1 OK
file 4.03-2 OK
fileutils 4.1-2 OK
findutils 4.1.7-4 OK
gawk 3.1.3-3 OK
gcc 3.3.1-2 OK
gcc-mingw 20030911-3 OK
gdb 20030919-1 OK
gdbm 1.8.3-7 OK
grep 2.5-1 OK
groff 1.18.1-2 OK
gzip 1.3.5-1 OK
less 381-1 OK
libbz2_1 1.0.2-5 OK
libdb2 2.7.7-4 OK
libdb2-devel 2.7.7-4 OK
libdb3.1 3.1.17-2 OK
libdb3.1-devel 3.1.17-2 OK
libdb4.1 4.1.25-1 OK
libdb4.1-devel 4.1.25-1 OK
libgdbm 1.8.0-5 OK
libgdbm-devel 1.8.3-7 OK
libgdbm3 1.8.3-3 OK
libgdbm4 1.8.3-7 OK
libgettextpo0 0.12.1-3 OK
libiconv2 1.9.1-3 OK
libintl1 0.10.40-1 OK
libintl2 0.12.1-3 OK
libncurses5 5.2-1 OK
libncurses6 5.2-8 OK
libncurses7 5.3-4 OK
libpcre 4.1-1 OK
libpcre0 4.4-2 OK
libpopt0 1.6.4-4 OK
libreadline4 4.1-2 OK
libreadline5 4.3-5 OK
login 1.9-7 OK
lynx 2.8.4-7 OK
m4 1.4-1 OK
make 3.80-1 OK
man 1.5j-2 OK
mingw-runtime 3.2-1 OK
mktemp 1.5-3 OK
ncftp 3.1.4-1 OK
ncurses 5.3-4 OK
openssh 3.7.1p2-1 OK
openssl 0.9.7c-1 OK
openssl096 0.9.6j-1 OK
patch 2.5.8-8 OK
patchutils 0.2.22-2 OK
perl 5.8.0-5 OK
proftpd 1.2.9rc3-1 OK
rcs 5.7-3 OK
readline 4.3-5 OK
rpm 4.1-1 OK
rsync 2.5.6-2 OK
sed 4.0.7-3 OK
sh-utils 2.0.15-4 Incomplete
sharutils 4.2.1-3 OK
shutdown 1.4-1 OK
tar 1.13.25-3 OK
tcltk 20030901-1 OK
tcp_wrappers 7.6-1 OK
tcsh 6.12.00-7 OK
termcap 20021106-2 OK
terminfo 5.3_20030726-1 OK
texinfo 4.2-4 OK
textutils 2.0.21-1 OK
time 1.7-1 OK
unzip 5.50-5 OK
vim 6.2.098-1 OK
w32api 2.4-1 OK
wget 1.8.2-2 OK
which 1.5-2 OK
zip 2.3-5 OK
zlib 1.1.4-4 OK
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jan 27 14:39:06 2004
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\local\libexec\apache
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Perl\bin\
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
C:\cygwin\bin
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 500(root) GID: 513(None)
513(None)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 500(root) GID: 513(None)
513(None) 544(Administrators)
545(mpukgame)
SysDir: C:\WINNT\system32
WinDir: C:\WINNT
HOME = `C:\cygwin\root'
MAKE_MODE = `unix'
PWD = `/root'
USER = `root'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `C:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `C:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `C:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/local/games
(default) = `c:\games'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/local/installs
(default) = `c:\installs'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd NTFS 39197Mb 30% CP CS UN PA FC
d: cd N/A N/A
C:\cygwin / system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
c:\games /usr/local/games system binmode
c:\installs /usr/local/installs system binmode
. /cygdrive system binmode,cygdrive
Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
61k 2003/08/09 C:\cygwin\bin\cygbz2-1.dll
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll
842k 2003/09/30 C:\cygwin\bin\cygcrypto-0.9.7.dll
645k 2003/04/11 C:\cygwin\bin\cygcrypto.dll
380k 2002/07/24 C:\cygwin\bin\cygdb-3.1.dll
831k 2003/09/20 C:\cygwin\bin\cygdb-4.1.dll
326k 2002/06/26 C:\cygwin\bin\cygdb2.dll
487k 2002/07/24 C:\cygwin\bin\cygdb_cxx-3.1.dll
1080k 2003/09/20 C:\cygwin\bin\cygdb_cxx-4.1.dll
45k 2001/04/25 C:\cygwin\bin\cygform5.dll
35k 2002/01/09 C:\cygwin\bin\cygform6.dll
48k 2003/08/09 C:\cygwin\bin\cygform7.dll
28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll
30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll
19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll
15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll
15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll
69k 2003/08/10 C:\cygwin\bin\cyggettextlib-0-12-1.dll
12k 2003/08/10 C:\cygwin\bin\cyggettextpo-0.dll
134k 2003/08/10 C:\cygwin\bin\cyggettextsrc-0-12-1.dll
17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll
306k 2002/04/27 C:\cygwin\bin\cyghttpd.dll
958k 2003/08/10 C:\cygwin\bin\cygiconv-2.dll
22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll
37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll
181k 2003/10/06 C:\cygwin\bin\cygmcrypt-4.dll
26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll
20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll
29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll
156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll
226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll
202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll
224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll
15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll
12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll
19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll
67k 2003/09/10 C:\cygwin\bin\cygpcre-0.dll
63k 2003/04/11 C:\cygwin\bin\cygpcre.dll
15k 2003/09/10 C:\cygwin\bin\cygpcreposix-0.dll
61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll
1100k 2003/08/29 C:\cygwin\bin\cygperl5_8_0.dll
22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll
108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll
171k 2003/09/30 C:\cygwin\bin\cygssl-0.9.7.dll
165k 2003/04/11 C:\cygwin\bin\cygssl.dll
60k 2003/08/09 C:\cygwin\bin\cygz.dll
949k 2003/09/20 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.5
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 94
Shared data: 3
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: Sat Sep 20 16:31:15 EDT 2003
CVS tag: cr-0x9b
Shared id: cygwin1S3
Use -h to see help about each section
------=_NextPart_000_01C3_01C3E4E3.F173C0B0
Content-Type: text/plain; charset=us-ascii
--
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/
------=_NextPart_000_01C3_01C3E4E3.F173C0B0--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |