Re: 100% CPU Usage when starting Win32 process through cron

2003-03-14 Thread Sudheer Tumuluru
Hi Igor, I added tty to the CYGWIN env. var. and rebooted and re-tried the application from cron, and still the same problem. I also looked at all the DLLs being loaded for this application and did chmod a+x on all of them. I tried setting the "Allow service to interact with desktop" flag f

Re: 100% CPU Usage when starting Win32 process through cron

2003-03-14 Thread Igor Pechtchanski
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 Tu

Re: 100% CPU Usage when starting Win32 process through cron

2003-03-14 Thread Sudheer Tumuluru
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

Re: 100% CPU Usage when starting Win32 process through cron

2003-03-12 Thread Thorsten Kampe
* 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 mach

Re: 100% CPU Usage when starting Win32 process through cron

2003-03-12 Thread Sudheer Tumuluru
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"

Re: 100% CPU Usage when starting Win32 process through cron

2003-03-12 Thread Thorsten Kampe
* 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? > Looks like it is o

100% CPU Usage when starting Win32 process through cron

2003-03-11 Thread Sudheer Tumuluru
Hi, 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. Looks like it is occupying 100% of the CPU time. I installed the cron using 'cygrunsrv -I cron -a -D -e CYGWIN="nt