100% CPU Usage when starting Win32 process through cron

Sudheer Tumuluru stumuluru@real.com
Fri Mar 14 21:41:00 GMT 2003


I upgraded my cygwin installation to the latest one but the problem still exists. I still
see the process occupying 99% CPU time. One thing that might be worth mentioning is that the
WIn32 process is accessing the audio/video card(s) device drivers. The process works fine
functionally except for the CPU usage. Here's the latest cygcheck.out file after update
(this is on the WinXP single CPU box also exhibiting the same behavior). Any pointers
please?
Thanks in advance,
Sudheer T
Thorsten Kampe wrote:
> * Sudheer Tumuluru (03-03-12 21:51 +0100)
> > Thorsten Kampe wrote:
> >> * Sudheer Tumuluru (03-03-12 04:46 +0100)
> >>> I have a Win32 process which runs fine from the cygwin bash or
> >>> Windows command prompt. But when I try to put it in a cron job, the
> >>> process comes up and freezes the machine.
> >>
> >> cron version? What "Win32 process"? OS version?
> >
> > cron version 3.0.1-7. Please excuse me for not sending the cygcheck.out earlier. It is
> > attached this time.
> > This is a native Win32 application written in C++, compiled using the VC++ compiler. It
> > is a console-based application with no GUI component whatsoever. Windows OS version:
> > Windows 2000 Professional Dual Proc Machine. Identical behavior on Single Proc machine
> > with Windows XP Professional.
>> Your OS is uptodate and this indicates that it's Cygwin related.
>> This is what I noticed:
> Your TERM should be 'cygwin' unless you're using rxvt, but it's
> 'xterm'.
>> You should update your Cygwin installation - at least Cygwin itself
> and bash. Best is to update everything.
>> >>> Is there some environment setting I am missing that is causing this problem.
> >>
> >> So what is your "environment setting"? echo $CYGWIN
> >
> > echo $CYGWIN gives "ntsec".
>> Mine is "binmode codepage:oem glob:ignorecase ntea ntsec smbntsec title tty".
> Try this or try at least adding tty.
>> Thorsten
> --
> Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
> Content-Transfer-Warning: message contains innuendos not suited for
> children under the age of 18
>> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
-------------- next part --------------
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Mar 14 13:00:22 2003
Windows 2000 Professional Ver 5.0 Build 2195 
Path:	G:\cygwin\usr\local\bin
	G:\cygwin\bin
	G:\cygwin\bin
	g:\WINDOWS\system32
	g:\WINDOWS
	g:\WINDOWS\System32\wbem
	g:\Program Files\Windows NT\Accessories
	g:\SDKs\jdk1.3.1_06\bin
	g:\Program Files\Microsoft Visual Studio\VC98\Bin
	G:\cygwin\bin
	g:\dev\rbn_cmn\lib\debug
	g:\dev\rbn_cmn\lib\release
	g:\apps\launcher
	g:\apps\WME
	g:\Program Files\Real\RealProducerPlus
	g:\MyApps
	g:\dev\build\bin
	g:\Program Files\vslick\win
	g:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
	g:\JavaProgs\jakarta-ant-1.5.1\bin
	.
	G:\cygwin\usr\X11R6\bin
G:\cygwin\bin\id.exe output (nontsec)
UID: 500(Administrator) GID: 513(None)
513(None) 544(Administrators)
545(Users)
G:\cygwin\bin\id.exe output (ntsec)
UID: 500(Administrator) GID: 513(None)
513(None) 544(Administrators)
545(Users)
SysDir: G:\WINDOWS\System32
WinDir: G:\WINDOWS
CYGWIN = `ntsec binmode'
HOME = `G:\cygwin\home\Administrator'
MAKE_MODE = `unix'
PWD = `/home/Administrator'
USER = `Administrator'
ALLUSERSPROFILE = `G:\Documents and Settings\All Users'
APPDATA = `G:\Documents and Settings\Administrator\Application Data'
BUILD_ROOT = `G:\dev\build'
CLASSPATH = `.;G:\SDKs\jdk1.3.1_06\jre\lib\rt.jar;G:\SDKs\j2sdkee1.3.1\lib\j2ee.jar;G:\JavaProgs\jakarta-ant-1.5.1\lib\ant.jar'
COMMONPROGRAMFILES = `G:\Program Files\Common Files'
COMPUTERNAME = `GATOR'
COMSPEC = `G:\WINDOWS\system32\cmd.exe'
HOMEDRIVE = `G:'
HOMEPATH = `\Documents and Settings\Administrator'
INCLUDE = `G:\Program Files\Microsoft Visual Studio\VC98\atl\include;G:\Program Files\Microsoft Visual Studio\VC98\mfc\include;G:\Program Files\Microsoft Visual Studio\VC98\include'
JAVA_HOME = `G:\SDKs\jdk1.3.1_06'
LIB = `G:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;G:\Program Files\Microsoft Visual Studio\VC98\lib'
LOGONSERVER = `\\GATOR'
MANPATH = `:/usr/ssl/man'
MSDEVDIR = `G:\Program Files\Microsoft Visual Studio\Common\MSDev98'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 6 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0602'
PROGRAMFILES = `G:\Program Files'
PROMPT = `$P$G'
PS1 = `\[033円]0;\w007円
033円[32m\]\u@\h \[033円[33m\w033円[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `G:'
SYSTEMROOT = `G:\WINDOWS'
TEMP = `g:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
TERM = `xterm'
TMP = `g:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
USERDOMAIN = `GATOR'
USERNAME = `Administrator'
USERPROFILE = `G:\Documents and Settings\Administrator'
VEWS_ROOT = `G:\dev\rbn_vews'
WINDIR = `G:\WINDOWS'
_ = `/usr/bin/cygcheck'
__COMPAT_LAYER = `Win2000 DisableThemes '
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
 (default) = `/cygdrive'
 cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
 (default) = `G:\cygwin\usr\X11R6\lib\X11\fonts'
 flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
 (default) = `G:\cygwin/lib'
 flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
 (default) = `G:\cygwin/bin'
 flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
 (default) = `G:\cygwin'
 flags = 0x0000000a
a: fd N/A N/A 
c: hd NTFS 1506Mb 37% CP CS UN PA FC 
d: cd N/A N/A 
e: hd NTFS 2039Mb 95% CP CS UN PA FC NT SYSTEM
f: hd NTFS 4110Mb 84% CP CS UN PA FC User
g: hd NTFS 12001Mb 61% CP CS UN PA FC WinXP System
G:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode
G:\cygwin/lib /usr/lib system binmode
G:\cygwin/bin /usr/bin system binmode
G:\cygwin / system binmode
. /cygdrive system binmode,cygdrive
Found: G:\cygwin\bin\awk.exe
Found: G:\cygwin\bin\bash.exe
Found: G:\cygwin\bin\cat.exe
Found: G:\cygwin\bin\cp.exe
Found: G:\cygwin\bin\cpp.exe
Found: G:\cygwin\bin\find.exe
Found: G:\cygwin\bin\gcc.exe
Found: G:\cygwin\bin\gdb.exe
Found: G:\cygwin\bin\grep.exe
Found: g:\Program Files\vslick\win\grep.exe
Warning: G:\cygwin\bin\grep.exe hides g:\Program Files\vslick\win\grep.exe
Found: G:\cygwin\bin\ld.exe
Found: G:\cygwin\bin\ls.exe
Found: G:\cygwin\bin\make.exe
Found: G:\cygwin\bin\mv.exe
Found: G:\cygwin\bin\rm.exe
Found: G:\cygwin\bin\sed.exe
Found: G:\cygwin\bin\sh.exe
Found: G:\cygwin\bin\tar.exe
 58k 2002年05月07日 G:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
 "cygbz2-1.dll" v0.0 ts=2002年5月6日 23:33
 847k 2003年02月19日 G:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
 "cygcrypto-0.9.7.dll" v0.0 ts=2003年2月19日 9:39
 806k 2003年02月19日 G:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
 "cygcrypto.dll" v0.0 ts=2003年2月19日 10:09
 380k 2002年07月24日 G:\cygwin\bin\cygdb-3.1.dll - os=4.0 img=1.0 sys=4.0
 "cygdb-3.1.dll" v0.0 ts=2002年7月24日 9:24
 487k 2002年07月24日 G:\cygwin\bin\cygdb_cxx-3.1.dll - os=4.0 img=1.0 sys=4.0
 "cygdb_cxx-3.1.dll" v0.0 ts=2002年7月24日 9:25
 136k 2002年10月17日 G:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
 "cygexpat-0.dll" v0.0 ts=2002年10月17日 8:21
 50k 2002年03月17日 G:\cygwin\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0
 "cygexslt-0.dll" v0.0 ts=2002年3月16日 22:24
 45k 2001年04月25日 G:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
 "cygform5.dll" v0.0 ts=2001年4月24日 22:28
 35k 2002年01月09日 G:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
 "cygform6.dll" v0.0 ts=2002年1月8日 22:03
 19k 2002年02月20日 G:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
 "cyggdbm.dll" v0.0 ts=2002年2月19日 19:05
 17k 2001年06月28日 G:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
 "cyghistory4.dll" v0.0 ts=2001年1月6日 20:34
 20k 2002年10月10日 G:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
 "cyghistory5.dll" v0.0 ts=2002年10月10日 10:28
 929k 2002年06月24日 G:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
 "cygiconv-2.dll" v0.0 ts=2002年6月24日 11:24
 22k 2001年12月13日 G:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
 "cygintl-1.dll" v0.0 ts=2001年12月13日 1:28
 28k 2002年09月20日 G:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
 "cygintl-2.dll" v0.0 ts=2002年9月19日 20:13
 21k 2001年06月20日 G:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
 "cygintl.dll" v0.0 ts=2001年6月20日 10:09
 119k 2002年02月09日 G:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
 "cygjpeg6b.dll" v0.0 ts=2002年2月8日 21:19
 26k 2001年04月25日 G:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
 "cygmenu5.dll" v0.0 ts=2001年4月24日 22:27
 20k 2002年01月09日 G:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
 "cygmenu6.dll" v0.0 ts=2002年1月8日 22:03
 156k 2001年04月25日 G:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
 "cygncurses++5.dll" v0.0 ts=2001年4月24日 22:29
 175k 2002年01月09日 G:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
 "cygncurses++6.dll" v0.0 ts=2002年1月8日 22:03
 226k 2001年04月25日 G:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
 "cygncurses5.dll" v0.0 ts=2001年4月24日 22:17
 202k 2002年01月09日 G:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
 "cygncurses6.dll" v0.0 ts=2002年1月8日 22:03
 15k 2001年04月25日 G:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
 "cygpanel5.dll" v0.0 ts=2001年4月24日 22:27
 12k 2002年01月09日 G:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
 "cygpanel6.dll" v0.0 ts=2002年1月8日 22:03
 40k 2001年11月21日 G:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
 "cygpcre.dll" v0.0 ts=2001年11月21日 14:15
 39k 2001年11月21日 G:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
 "cygpcreposix.dll" v0.0 ts=2001年11月21日 14:15
 168k 2003年02月23日 G:\cygwin\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0
 "cygpng10.dll" v0.0 ts=2003年2月23日 15:02
 22k 2002年06月09日 G:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
 "cygpopt-0.dll" v0.0 ts=2002年6月8日 22:45
 108k 2001年06月28日 G:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
 "cygreadline4.dll" v0.0 ts=2001年1月6日 20:34
 127k 2002年10月10日 G:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
 "cygreadline5.dll" v0.0 ts=2002年10月10日 10:28
 177k 2003年02月19日 G:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
 "cygssl-0.9.7.dll" v0.0 ts=2003年2月19日 9:39
 227k 2003年02月19日 G:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
 "cygssl.dll" v0.0 ts=2003年2月19日 10:09
 281k 2003年02月24日 G:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
 "cygtiff3.dll" v0.0 ts=2003年2月23日 20:58
 633k 2002年07月22日 G:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
 "cygxml2-2.dll" v0.0 ts=2002年7月21日 23:29
 152k 2002年03月17日 G:\cygwin\bin\cygxslt-1.dll - os=4.0 img=1.0 sys=4.0
 "cygxslt-1.dll" v0.0 ts=2002年3月16日 22:19
 15k 2002年03月17日 G:\cygwin\bin\cygxsltbreakpoint-1.dll - os=4.0 img=1.0 sys=4.0
 "cygxsltbreakpoint-1.dll" v0.0 ts=2002年3月16日 22:24
 50k 2002年03月12日 G:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
 "cygz.dll" v0.0 ts=2002年3月11日 20:38
 947k 2003年03月12日 G:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
 "cygwin1.dll" v0.0 ts=2003年3月11日 21:24
 Cygwin DLL version info:
 DLL version: 1.3.21
 DLL epoch: 19
 DLL bad signal mask: 19005
 DLL old termios: 5
 DLL malloc env: 28
 API major: 0
 API minor: 77
 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: Wed Mar 12 00:24:29 EST 2003
 CVS tag: dontuse-21
 Shared id: cygwin1S3
 41k 2002年05月14日 G:\cygwin\usr\X11R6\bin\cygPropList-0.dll - os=4.0 img=1.0 sys=4.0
 "cygPropList-0.dll" v0.0 ts=2002年5月13日 20:13
Cygwin Package Information
Last downloaded files to: G:\cygwin-install
Last downloaded files from: ftp://archive.progeny.com/cygwin
Package Version
_update-info-dir 00152-1
ash 20020731-1
base-files 1.1-1
base-passwd 1.1-1
bash 2.05b-9
bc 1.06-1
binutils 20030307-1
bzip2 1.0.2-2
clear 1.0-1
cron 3.0.1-7
crypt 1.0-1
cvs 1.11.0-1
cygrunsrv 0.95-1
cygutils 1.1.3-1
cygwin 1.3.21-1
cygwin-doc 1.3-2
diff 1.0-1
diffutils 2.8.1-1
ed 0.2-1
expat 1.95.5-1
expect 20030128-1
file 3.39-1
fileutils 4.1-1
findutils 4.1.7-4
fvwm 2.4.7-2
gawk 3.1.1-5
gcc 3.2-3
gcc-mingw 20020817-5
gdb 20030303-1
gdbm 1.8.0-4
gettext 0.11.5-1
grep 2.5-1
groff 1.18.1-2
guile-doc 1.6.0-1
gzip 1.3.3-4
inetutils 1.3.2-20
jpeg 6b-7
less 378-1
lesstif 0.93.40-1
libbz2_1 1.0.2-2
libdb3.1 3.1.17-2
libiconv2 1.8-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.11.5-1
libncurses5 5.2-1
libncurses6 5.2-8
libpng10 1.0.15-1
libpopt0 1.6.4-4
libPropList 0.10.1-3
libreadline4 4.1-2
libreadline5 4.3-2
libxml2 2.4.23-1
libxslt 1.0.13-1
lilypond-doc 1.6.8-2
login 1.7-1
make 3.79.1-7
man 1.5j-2
mc 4.6.0-1
mingw-runtime 2.4-1
mktemp 1.4-1
more 2.11o-1
ncurses 5.2-8
newlib-man 20020801
openbox 0.99.1-3
openssh 3.5p1-3
openssl 0.9.7a-1
openssl096 0.9.6i-1
patch 2.5.8-3
pcre 3.7-1
perl 5.6.1-2
pinfo 0.6.6p1-1
procps 010801-2
python 2.2.2-7
readline 4.3-2
rsync 2.5.5-2
rxvt 2.7.9-4
sed 4.0.5-1
sh-utils 2.0.15-3
sharutils 4.2.1-2
tar 1.13.25-1
tcltk 20030214-1
tcsh 6.12.00-5
termcap 20020930-1
terminfo 5.3-1
tetex-doc 2.0.2-1
texinfo 4.2-4
textutils 2.0.21-1
tiff 3.6.0-1
time 1.7-1
unzip 5.50-2
vim 6.1.300-1
w32api 2.2-1
wget 1.8.2-2
which 1.5-1
whois 4.6.2-1
WindowMaker 0.80.0-2
x2x 1.27-2
Xaw3d 1.5-1
XFree86-base 4.2.0-1
XFree86-bin 4.2.0-3
XFree86-doc 4.2.0-1
XFree86-etc 4.2.0-1
XFree86-f100 4.2.0-2
XFree86-fcyr 4.2.0-2
XFree86-fenc 4.2.0-2
XFree86-fnts 4.2.0-2
XFree86-fscl 4.2.0-2
XFree86-fsrv 4.2.0-1
XFree86-html 4.2.0-1
XFree86-jdoc 4.2.0-1
XFree86-lib 4.2.0-3
XFree86-man 4.2.0-1
XFree86-nest 4.2.0-1
XFree86-prog 4.2.0-1
XFree86-prt 4.2.0-1
XFree86-ps 4.2.0-1
XFree86-startup-scripts 4.2.0-3
XFree86-vfb 4.2.0-1
XFree86-xserv 4.2.0-28
zip 2.3-2
zlib 1.1.4-1
Use -h to see help about each section
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /