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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Scheduler?Scheduler?
Previous
 
Next
New Post
8/10/2006 10:34 PM
 

I believe that the scheduler event is burning my server's CPU usage. So I have to make some change. In Host settings, there are 2 kinds of Scheduler method : Request and Timer. Which of them will be better at this situation?

Thanks in advance

 
New Post
8/10/2006 10:49 PM
 

Neither of them will help directly with CPU usage while a scheduled task is running.

Request mode will check to see if the scheduled task needs to be ran on each request, so if you have low traffic it might miss something until the next time you get a request.

If you have very high traffic then it may be checking too often in Request mode, but it won't run the task until it is time for it.

In timer mode, it is a little more accurate, but it has a background thread running which may be interuppted with application restarts, and there is no context of the web application when running on a background thread.

Personally, I would recommend turning off all scheduled tasks, and then coming in and performing the maintenance that the tasks are providing manually.  That's just me though, others may not have a problem with batch tasks running from a web environment.


DotNetNuke Modules from Snapsis.com
 
New Post
8/10/2006 11:30 PM
 

So what will happen if I change Scheduler method to None? Does it mean all of the tasks are disable?

And I've got some more confuse with UsersOnline. What's the difference between the one in Host Settings and in Scheduler Task? When Scheduler's switched to None, does UsersOnine continue to work?

I don't really understand how you did this, John : "coming in and performing the maintenance that the tasks are providing manually"

Anyway, thanks for your help John. You're always willing to answer our questions and I really appreciate that

 
New Post
8/11/2006 8:49 AM
 

Thanks, I'm glad to help, especially for those that appreciate it.

Yes, on my sites I disable the scheduler (set it to none, and disable all the tasks).

For UsersOnline, the one in host settings will stop it from collecting the information and writing to the table, the scheduler task for UsersOnline "cleans up" that table by deleting old records.
You would need to delete old records manually if you have the UsersOnline module enabled in host settings and the task disabled in the scheduler.

 
Personally, I don't use the UsersOnline module either.  It causes a lot of database activity for what amounts to a "vanity" control in my opinion.  Activity on your site can be measured in many different ways that don't affect performance like this.  I'm not saying there is anything wrong if you like to use that module, but you should realize that it will affect performance.


DotNetNuke Modules from Snapsis.com
 
New Post
8/11/2006 10:52 AM
 

Well, performance is what I'm concerning about. However, I still need UsersOnline task for my users who are building their portals. So I change the task's duration from 1 minutes to 10 minutes. Hope that'll help.

P.S : I also have to disable your Page Blaster module. It can cause some confusion for those who are not familiar with DNN

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Scheduler?Scheduler?


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