Does adding "tty" to your CYGWIN environment variable and rebooting affect this? If not, try attaching to the 100% CPU process with gdb (yes, you can attach to Windows processes that way too) or a VC++ debugger, and see where it is spending the time... Igor
On Fri, 14 Mar 2003, Sudheer Tumuluru wrote: > 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 -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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/