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...Performance and...Performance and...scheduler RUN NOW very slowscheduler RUN NOW very slow
Previous
 
Next
New Post
10/18/2016 9:46 AM
 

Just wondering out of curiosity what happens when you hit "run now" to fire off a scheduled task.

It seems to take an excessively long time if all it is doing is inserting a row in a DB table.

Even on a fast server it's take 4 or 5 seconds.

Can anyone explain what DNN is doing here?

thanks

Gus


"if the only tool you have is a hammer you tend to see every problem as a nail" http://www.carawaydesign.com
 
New Post
10/18/2016 1:58 PM
 
it adds an execution to the queue, therefore it may take a few seconds, before it gets started.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/18/2016 2:37 PM
 
Don't think I made myself clear.

When I hit "Run now" a rotating icon appears and there is a delay of at least 5 seconds and up to 15 seconds on my machine.
I don't care if the scheduled task doesn't run immediately.

Why does it take so long to finish adding a job to the queue and showing the message "item added to schedule for immediate execution".?

If all it is doing is adding a row to the DB then I could do that in SQL server in a split second.

It takes so long one would think it's recyling the app pool.

Gus

"if the only tool you have is a hammer you tend to see every problem as a nail" http://www.carawaydesign.com
 
New Post
10/18/2016 2:47 PM
 
"Run now" might cause the process to start first (up to DNN 8.0.3), prior to adding the job to run.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/18/2016 2:58 PM
 
Can you explain what is actually happening please? Do you mean the worker process? I can find not queue table.
What happens when a job is added to run.

Also, what changed after 8.0.3 to improve this?

thanks
Gus

"if the only tool you have is a hammer you tend to see every problem as a nail" http://www.carawaydesign.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...scheduler RUN NOW very slowscheduler RUN NOW very slow


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