You need to Register for free and Login to post a message in the forum.

Forum

scheduled task even errors and memory usage
Last Post 2008-03-06 05:20 PM by mgordon. 5 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
cyboramaUser is Offline
Nuke Master
Nuke Master
Posts:207

--
2008-02-18 03:56 PM  

Hello guys,
I am constantly getting the following erros in my dotnetnuke event viewer


2/18/2008 7:24:54 AM   Scheduler Event Failure       THREAD ID: 11; TYPE: DotNetNuke.Services.Search.SearchEn ...
THREAD ID: 11
TYPE: DotNetNuke.Services.Search.SearchEngineScheduler
EXCEPTION: Thread was being aborted.
RESCHEDULED FOR: 1/1/0001 1:00:00 AM
SOURCE: STARTED_FROM_BEGIN_REQUEST
ACTIVE THREADS: -5
FREE THREADS: 6
READER TIMEOUTS: 0
WRITER TIMEOUTS: 0
IN PROGRESS: 0
IN QUEUE: 10
Server Name: WEB131


2/18/2008 7:24:46 AM   Scheduler Event Failure       THREAD ID: 8; TYPE: DotNetNuke.Services.Scheduling.Purge ...
THREAD ID: 8
TYPE: DotNetNuke.Services.Scheduling.PurgeScheduleHistory
EXCEPTION: The query has been canceled because the estimated cost of this query (9269) exceeds the configured threshold of 1500. Contact the system administrator.
RESCHEDULED FOR: 2/20/2008 7:24:46 AM
SOURCE: STARTED_FROM_BEGIN_REQUEST
ACTIVE THREADS: 0
FREE THREADS: 1
READER TIMEOUTS: 0
WRITER TIMEOUTS: 0
IN PROGRESS: 1
IN QUEUE: 10
Server Name: WEB131




2/18/2008 7:35:17 AM   Scheduler Event Failure       THREAD ID: 17; TYPE: DotNetNuke.Services.Log.SiteLog.Pur ...
THREAD ID: 17
TYPE: DotNetNuke.Services.Log.SiteLog.PurgeSiteLog
EXCEPTION: Thread was being aborted.
RESCHEDULED FOR: 1/1/0001 2:00:00 AM
SOURCE: STARTED_FROM_BEGIN_REQUEST
ACTIVE THREADS: -5
FREE THREADS: 6
READER TIMEOUTS: 0
WRITER TIMEOUTS: 2
IN PROGRESS: 0
IN QUEUE: 10
Server Name: WEB131


2/18/2008 7:24:53 AM   Scheduler Event Failure       THREAD ID: 11; TYPE: DotNetNuke.Services.Search.SearchEn ...
THREAD ID: 11
TYPE: DotNetNuke.Services.Search.SearchEngineScheduler
EXCEPTION: Thread was being aborted.
RESCHEDULED FOR: 1/1/0001 1:00:00 AM
SOURCE: STARTED_FROM_BEGIN_REQUEST
ACTIVE THREADS: -4
FREE THREADS: 5
READER TIMEOUTS: 0
WRITER TIMEOUTS: 0
IN PROGRESS: 0
IN QUEUE: 10
Server Name: WEB131


Most frequently the failed schedules seem to be:

Search Engine Schedular
Purge Schedule History

Once in a while PurgeSiteLog errors out and it has done so more than once but I don't get as many schedule errors on this as I do on the two above.  So my question is first what could be causing these scheduled tasks not to be able to fulfill what they were set out to do correctly.

Secondly could the constant flood of these dumped scheduled failers cause for a memory consumption of a dotnetnuke installation to go out of control.

While I'm on the event log erros I will give you a couple other errors I am constantly getting via my dotnetnuke portal and see if you could give me some direction in these as well.

2/18/2008 6:16:00 AM   Host Alert       EventQueue.ProcessMessage: Message Processing Failed; Proces ...
EventQueue.ProcessMessage: Message Processing Failed
ProcessorType: DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke
Body:
Sender:
BusinessControllerClass: DotNetNuke.Modules.Media.MediaController, DotNetNuke.Modules.Media
DesktopModuleId: 79
UpgradeVersionsList: 03.02.00,03.02.03
ExceptionMessage: Object reference not set to an instance of an object.
Server Name: WEB131


2/18/2008 6:16:00 AM   Host Alert       EventQueue.ProcessMessage: Message Processing Failed; Proces ...
EventQueue.ProcessMessage: Message Processing Failed
ProcessorType: DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke
Body:
Sender:
BusinessControllerClass: DotNetNuke.Modules.Events.EventController, DotNetNuke.Modules.Events
DesktopModuleId: 68
UpgradeVersionsList: 03.03.07
ExceptionMessage: Method not found: 'DotNetNuke.Entities.Modules.ModuleControlInfo DotNetNuke.Entities.Modules.ModuleControlController.GetModuleControlByKeyAndSrc(Int32, System.String, System.String)'.
Server Name: WEB131


2/18/2008 6:16:00 AM   Host Alert       EventQueue.ProcessMessage: Message Processing Failed; Proces ...
EventQueue.ProcessMessage: Message Processing Failed
ProcessorType: DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke
Body:
Sender:
BusinessControllerClass: DotNetNuke.Modules.Events.EventController, DotNetNuke.Modules.Events
DesktopModuleId: 68
UpgradeVersionsList: 03.01.00,03.02.00,03.03.00,03.03.02,03.03.03,03.03.05,03.03.07
ExceptionMessage: Method not found: 'DotNetNuke.Entities.Modules.ModuleControlInfo DotNetNuke.Entities.Modules.ModuleControlController.GetModuleControlByKeyAndSrc(Int32, System.String, System.String)'.
Server Name: WEB131



Other alerts I have been receiving as of late are these general exceptions like the following:

  2/18/2008 7:33:38 AM   General Exception       AssemblyVersion: 04.08.00; PortalID: -1; PortalN ...
AssemblyVersion: 04.08.00
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c049ca9f-2485-4202-bb61-708893a9ef4d
InnerException: Thread was being aborted.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Collections.Generic.Dictionary`2.Insert
StackTrace:
Message: System.Threading.ThreadAbortException: Thread was being aborted. at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader, Boolean CheckForLegacyFields) at DotNetNuke.Entities.Tabs.TabController.FillTabInfoCollection(IDataReader dr, Boolean CheckForLegacyFields)
Source:
Server Name: WEB131


2/18/2008 7:35:36 AM   Scheduler Exception       AssemblyVersion: -1; PortalID: -1; PortalName< span> ...
AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Thread was being aborted.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.Threading.ThreadAbortException: Thread was being aborted. at DotNetNuke.Services.Search.SearchEngineScheduler.DoWork() at DotNetNuke.Services.Scheduling.DNNScheduling.ProcessGroup.Run(ScheduleHistoryItem objScheduleHistoryItem)
Source:
Server Name: WEB131


2/18/2008 7:35:36 AM   General Exception       AssemblyVersion: -1; PortalID: -1; PortalName< span> ...
AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Thread was being aborted.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.Threading.ThreadAbortException: Thread was being aborted. at SNINativeMethodWrapper.SNIPacketGetConnection(IntPtr packet) at System.Data.SqlClient.TdsParserStateObject.ProcessSniPacket(IntPtr packet, UInt32 error) at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected) at System.Data.SqlClient.TdsParserStateObject.ReadBuffer() at System.Data.SqlClient.TdsParserStateObject.ReadByte() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.GetEventLogPendingNotifConfig() at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.SendLogNotifications() at DotNetNuke.Services.Log.EventLog.SendLogNotifications.DoWork()
Source:
Server Name: WEB131


These are just some of the different kinds of errors I am still receiving and am wondering if you have any idea of the kinds of things that could be causing all these errors to be thrown.

Would you suggest that I start by turning off the automatically scheduled events of those things that are continually failing or is their some way of easily getting to the bottom of continually failing scheduled tasks.

Lastly would turning off tasks that keep failing save on memory and perhaps allow the web app not to consume so much memory thanks

Bo
mgordonUser is Offline
Nuke Master
Nuke Master
Posts:208
Avatar

--
2008-02-27 04:02 PM  
Was there an answer on this?

My DNN just went belly up because of the Scheduler. I'm getting the exact same kinds of errors as Bo is getting. I had to turn Scheduler off in order for my site to respond as it should.

Help would be MOST appreciated.

Thanks,

Mark
Mark Gordon
Webmonkey
mgordonUser is Offline
Nuke Master
Nuke Master
Posts:208
Avatar

--
2008-02-27 07:24 PM  
Actually, this is the error I keep getting over and over, like every 10th of a second:

2/27/2008 11:42:52 AM Scheduler Exception AssemblyVersion: -1; PortalID: -1; PortalName ...
AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Add failed. Duplicate key value supplied.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.ArgumentException: Add failed. Duplicate key value supplied.at Microsoft.VisualBasic.Collection.Add(Object Item, String Key, Object Before, Object After)at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.AddToScheduleInProgress(ScheduleHistoryItem objScheduleHistoryItem)at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.WorkStarted(SchedulerClient& objSchedulerClient)
Source:
Server Name: PWCPAWEB

When I put my scheduler on Request Method or Timer, the site slows to a stop and takes, literally, forever to get a page up and running.

Thanks,

Mark
Mark Gordon
Webmonkey
Joseph CraigUser is Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:8996
Avatar

--
2008-02-28 02:30 PM  
Did this just start happening, or has this always happened?

Check your database, truncate the event file, etc.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Lee SykesUser is Offline
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945
Avatar

--
2008-03-05 08:22 PM  
Mark,

Did you find the culprit? - The usual method is to turn off all scheduled items and then re-enable them one at a time to find the problem. - the main one I have found this to be is the search engine Scheduler, I have had to disable it as it was causing cpu maxing problems among others.

Cheers,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
mgordonUser is Offline
Nuke Master
Nuke Master
Posts:208
Avatar

--
2008-03-06 05:20 PM  
Hi All,

I figured out what the problem was (well thanks to outside help! I ain't that smart!)

The culprit is the timing of the Search Engine Indexer in the scheduler. The thing is, you have to
change the values. When DNN was initially setup, it came with a preset of Indexing every 30 minutes.
The problem is that when you have more and more content, it takes longer to perform the indexing,
so it gets to the 30 minute timeframe and then starts to reindex, even though the other index never
finished, so it throws error after error.

I had to stop the indexing, change the values, restart the Application and then startup the scheduler.

I changed the index to a 6 hour timeframe. My content won't show up so quickly on internal searches,
but at least it won't go into spasms anymore. This answer was actually provided by Mitch Sellers who
I contacted. I'm in the process of signing a contract to have him on retainer to help in the future. Well
worth the oney in my opinion to have someone who really knows what's going on.

Cheers all!

p.s. Joe, do you have anything for me yet? :-)
Mark Gordon
Webmonkey
You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

RE: Module Security permissions by Bhushan Gholap
Thanks for the reply!!! I would definitely contact sales engineer team of DNN.
RE: There's a tutorial for this somewhere by Eric W
The error I got was the Connection Error(s): Index #: 0 Source: .Net SqlClient Data Provider
RE: DNN 6 Modules Not Showing by Joseph Craig
Where can I see this? If you'd like to send me some login credentials so that I can look, use the c
RE: DNN 6 Modules Not Showing by Mike DeBaise
No, modules are set to all viewers/users. Just cant figure this out, it really doesnt make any sense
RE: Searching in DNN by Alex Ritter
Will do Joseph. I'll let you know my findings.
RE: DNN Blog module syndication by Aggiedan97
The reason I bring it up - Lee had originally provided a tutorial regarding podcast submission to iT
RE: installing DNN locally - problems with relative path by Joseph Craig
Recently I discovered this very useful blog post: http://www.dotnetnuke.com/Resources/Blogs/EntryId
installing DNN locally - problems with relative path by Prakasam Srinivasan
Instead of making tests on my live site, I recently seen various tutorials concerning installing DNN
RE: Moved site to subdomain, now no links work by Joseph Craig
PortalAlias is a table in the DotNetNuke database. Normally you would adjust this on the Site Set
RE: DNN 6 Modules Not Showing by Joseph Craig
Did you also check the module permissions? Are the modules permissions such that only logged in use
RE: Add to the menu with a custom module by Joseph Craig
I can't tell you how to do this, but ... I'd think you could start with a version of the Mega menu i
RE: Where is the Manage Profile default Properties required error message found? by Joseph Craig
You'll find it in one of those resource files you can get at with the Language Editor. I'm not sure
RE: Facebook Like Button by Joseph Craig
You can get the code you need from Facebook and then you can paste it into an HTML module in HTML mo
RE: Module Security permissions by Joseph Craig
Just a thought -- as you are evaluating the Professional version of DotNetNuke, you might want to as
RE: Module Security permissions by Joseph Craig
The module permissions that you mention are for the module: Edit the module's settings, Delete the
RE: Module permission does not work! by Joseph Craig
When you login are you a member of the Administrators security role? I don't believe that you can d
DNN 6 Modules Not Showing by Mike DeBaise
Hello all. I created a skin for DNN 6 and noticed that only while I am logged in can I see the modul
RE: URL login bypass by Joseph Craig
If you want the private page to be protected, you are going to have to have some way of "logging in.
RE: DNN Blog module syndication by Joseph Craig
Sorry. I'm not really familiar with feedburner and I haven't had a chance to research this. While
RE: Friendly URLs Broken by Joseph Craig
Are you using a third party module to rewrite the URLs? If so, you may need an upgrade. Did you do
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds