Products

Solutions

Resources

Partners

Community

About

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 ...How do I extend the SqlCommand timeout periodHow do I extend the SqlCommand timeout period
Previous
 
Next
New Post
3/1/2018 4:27 PM
 

I get repeated log messages about a timeout running dbo.PurgeScheduleHistory.  AFAICT this Scheduled Task never completes for me.

2018-02-12 04:51:54,141 [EC2AMAZ-9526KNG][Thread:45][ERROR] DotNetNuke.Data.PetaPoco.PetaPocoHelper - [1] Error executing SQL: ;Exec dbo.PurgeScheduleHistory

Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

2018-02-12 04:51:54,142 [EC2AMAZ-9526KNG][Thread:45][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. ---> 

 

I ran the SP manually.  It took 5m06s.  I thought it was probably clearing out a ton of old data.  I immediately ran it again, presumably now with no old data to clear out.  This time it took 5m01s.  Essentially the same time.

Both are hugely over the default 30 seconds ADO .Net allows for a command to execute.

@Sebastian - is this something that your turbo scripts would help with?

I am also curious in general.  There is nothing very special about my system, it's not even particularly full of data.  Does this script fail for everyone?


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/1/2018 5:31 PM
 
Seems I was off base about the data. Somehow I ended up with over a million rows in ScheduleHistory.

Once that was properly culled the SP runs fine. What I had missed in manually running it, is it only deletes the top 5000 each time. That makes no significant dent in a million plus .

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How do I extend the SqlCommand timeout periodHow do I extend the SqlCommand timeout period


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