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 ...Scheduler, maxThreads, web.config Scheduler, maxThreads, web.config
Previous
 
Next
New Post
7/29/2008 7:24 AM
 

Hi all,

I've been chasing some issues with the scheduler and have a question. Background: I've recently implemented a module which runs a scheduled task that takes a looooong while to complete. I run it infrequently, but noticed that whilst it was running no other scheduled tasks ran. Odd, I thought, doesn't this thing multi-thread? I found this design doc (a bit old) that does specify a multi-threading scheduler:

http://www.dotnetnuke.com/LinkClick.aspx?fileticket=Sa3oPZCNyw0%3D&tabid=478&mid=857

Investigating, I found that in all the web.configs I have going back to version 3.1 the maxThreads setting is "1", not "-1" as described. In other words, only one scheduler thread allowed. Which explains what's happening on my site!  :)

Now I doubt  this is just a typo in web.config that no-one has noticed in all this time, so I wonder if there's some history here and a  very good reason why we don't multi-thread the scheduler. Can anyone comment on this before I take a deep breath and set the maxThreads in my web.config to a higher value ? And also on whether it would be best to just set maxThreads="2" or go back to the original design and set it to "-1"?

Thanks In Advance,

Graham

 
New Post
9/1/2008 1:44 AM
 

Bump.  Come on, surely someone has something to say about this???!!!

 
New Post
6/20/2010 11:11 AM
 
Graham, what did you discover here? Anyone else have a comment on this?
 
New Post
6/28/2010 2:32 PM
 
wow - no one ever answered this?  I now have the same question...

William
 
New Post
6/28/2010 4:49 PM
 
be aware, that DNN scheduler is not ideal for long lasting threads, due to web sites might get unloaded after inactivity or consumption of resources. If you need reliable scheduled services, you should consider implemeting it using windows scheduler or SQL Server.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Scheduler, maxThreads, web.config Scheduler, maxThreads, web.config


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