Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Scheduler Event Log Error View modes: 
User avatar
Member
Member
dlents-coleyfederal - 8/15/2011 4:17:49 PM
   
Scheduler Event Log Error
For the past week or so I have been getting multiple instances of the following event log error:
Event ID:	39510
Event type: Error
Event time: 8/15/2011 2:32:58 PM
Source: Scheduler
Event code: RUN
IP address:

Description: Message: Thread was being aborted.
Stack Trace:
at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
at CMS.Scheduler.SchedulingTimer.Run()

Machine name: GONZO
Event URL:
URL referrer:
User agent:

In every case the error immediately follows the Application_End ENDAPP event.

I do a have few custom scheduled tasks that I'm executing, but nothing out of the ordinary and they have been running just fine for the past few weeks/months. When I think back to what I may have changed around the time the errors showing showing up the only thing that comes to mind is setting the following in the web.config:
<!-- Scheduler -->
<add key="CMSUseAutomaticScheduler" value="true" />
<add key="CMSRunSchedulerWithinRequest" value="false" />

Anybody have an idea as to what's happening here?

User avatar
Member
Member
kentico_michal - 8/16/2011 7:28:27 AM
   
RE:Scheduler Event Log Error
Hello,

This seems to be a normal behavior for automatic scheduler that runs in a separate thread. The fact that the exception is followed by the Application_End log indicates that application pool recycled or the page timed out.

Best regards,
Michal Legen