Re: Intermittent Cron Errors

2009-07-08 Thread Pierre A. Humblet
At 07:17 PM 7/8/2009, Rajiv Garg wrote: Compiled and ran -- here's the output: $>/tmp/testcron.exe name orderworker uid 11130 gid 10513 0 256 512 768 1024 1280 1536 1792 2048 2304 2560 I killed it at this point. No initgroups() or setuid() failures in 2500 tries. Let me know your thoughts.

Re: Intermittent Cron Errors

2009-07-08 Thread Rajiv Garg
Compiled and ran -- here's the output: $>/tmp/testcron.exe name orderworker uid 11130 gid 10513 0 256 512 768 1024 1280 1536 1792 2048 2304 2560 I killed it at this point. No initgroups() or setuid() failures in 2500 tries. Let me know your thoughts. Rajiv -- Problem reports: http://

Re: Intermittent Cron Errors

2009-07-08 Thread Pierre A. Humblet
- Original Message - From: "Rajiv Garg" To: "Pierre A. Humblet" Sent: Wednesday, July 08, 2009 5:47 PM Subject: Re: Intermittent Cron Errors | | Pierre, | | Thanks for your reply. | | Yes, both the job and service are running under the same account (orderworker).

Re: Intermittent Cron Errors

2009-07-08 Thread Rajiv Garg
Pierre, Thanks for your reply. Yes, both the job and service are running under the same account (orderworker). I was looking into this a bit more, and found that we are getting the following event in our security event log at the exact time of the cron "can't switch user context" error. E

Re: Intermittent Cron Errors

2009-07-08 Thread Pierre A. Humblet
- Original Message - From: "Rajiv Garg" To: cygwin Sent: Wednesday, July 08, 2009 1:14 PM | | Hi, | | We are seeing intermittent cron errors on some of our servers. We run about | a couple of hundred jobs on these servers, and about 5% of them fail with | the error "ca

Intermittent Cron Errors

2009-07-08 Thread Rajiv Garg
Hi, We are seeing intermittent cron errors on some of our servers. We run about a couple of hundred jobs on these servers, and about 5% of them fail with the error "can't switch user context"). We enabled verbose logging, and in /var/log/cron.log see messages that say &quo