Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DotNetNuke.Services.Scheduling ErrorDotNetNuke.Services.Scheduling Error
Previous
 
Next
New Post
1/28/2011 4:20 PM
 
Mark, Don't worry we all try our best, sometimes we rush to post. For me, nothing of all the suggested above works. I still have some of those errors. What i don't like is that this problem has been around for a long time and not a single help has been given from the DNN guys. So we are all keep guessing .....

Sebastian excluded as usual ...
 
New Post
1/28/2011 4:30 PM
 
Mark, the issue with timer mode is that it might not have portal context and some jobs might fail. request mode is suggested setting and if your keep alive service calls a real page, it will trigger the scheduler as well.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/28/2011 7:11 PM
 
Anyone made any more progress on this issue - been hitting this for a few days on a site we upgraded to 5.6.1 - that came from 5.4.4 via 5.6.0 - its the last error in the event log now - would be nice to get it under control - makes this client happy when they dont see errors in the event log - lol ..

Been thru all the various truncate logs and webserver  steps in here - but still getting it popping up again as of today.

Westa
 
New Post
1/28/2011 8:06 PM
 
I just wanted to give an update, I have had no occurrences of the problem after switching the scheduler to Timer Mode (about 4 hours ago now).  It was coming very consistently before this change, as I said always in-sync with a request I made to a portal.  I was getting 25+ of the messages at once (or all within a 60-second period) so this may not be the same thing you are experiencing.  My scheduler log showed the Purge Module Cache and Messaging Dispatch jobs taking the same 60 seconds to complete, when normally they took fractions of a second.

To ensure I had my best foot forward for performance I also took most of the steps outlined in this blog entry from Mitch Sellers:
http://www.mitchelsellers.com/blogs/a...

We already had most of the settings set to match these but this filled in a few gaps.  The only thing that I feel is relevant to this problem, aside from the scheduler mode, is regular purging the EventLog table.  We have our own system so I can schedule this in SQL Server Agent.  In the event that type of automatic operation isn't possible it seems limiting the events going into the log is the best option; I turned off all of the "success" type logging and that has already kept it vastly cleaner.

Sebastian, I don't understand what you mean by portal context and how that would impact the scheduler.  If we were talking security contexts I'd follow.  Fortunately looking at the scheduler logs I don't seem to have any negative impact of the mode change at this time, but I don't discount the concern and would like to understand what you mean.
 
New Post
1/29/2011 12:53 AM
 
Timer mode can be problematic depending on how scheduler classes are coded - when you run in timer mode many of the session related entities we normally code against when building a module are not instantiated by default.  They are functions of a live running site and only exist at such times. A good example is the portalsettings entity.  We kind of come to just expect it to be the correctly populated with info about the current portal etc.

Time mode works by creating a background process as a non web application thread - it does not understand things like portalsettings contexts and the concept of an active web session.  As such it has no direct callback mechanism to the dnn context - it does not KNOW what portal you are running for example if there are more that one portal on your hosting.

The request mode version on the other hand is launched as a process of a http request ... and as such receives access to the context of the session that generated the http request.

There are ways to code a scheduler class with these issue in mind - and depending on the job being performed by the scheduler class it may not be relevant - however there are some scheduler classes that expect context - and can crash if it is not available.

This is the reason why people often say to be careful of timer mode.

Westa
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DotNetNuke.Services.Scheduling ErrorDotNetNuke.Services.Scheduling Error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out