question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Purge Scheduled History fails with timeout error on 2 instances of DNN 9.4.1

See original GitHub issue

Description of bug

Purge Scheduled History fails with timeout error on 2 instances of DNN 9.4.1

Error log

General Exception

AbsoluteURL DefaultDataProvider DotNetNuke.Data.SqlDataProvider DotNetNuke AbsoluteURL: DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke Message:Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at PetaPoco.Database.ExecuteInternal(CommandType commandType, String sql, Object[] args) at DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteNonQuery(String connectionString, CommandType type, Int32 timeoutSec, String sql, Object[] args) at DotNetNuke.Data.SqlDataProvider.ExecuteNonQuery(Int32 timeoutSec, String procedureName, Object[] commandParameters) at DotNetNuke.Services.Scheduling.DNNScheduler.PurgeScheduleHistory() at DotNetNuke.Services.Scheduling.PurgeScheduleHistory.DoWork()

InnerMessage:The wait operation timed out Source:.Net SqlClient Data Provider

Additional context

both are upgraded versions of DNN CE

Affected version

  • 10.0.0 alpha build
  • 9.4.2 alpha build
  • [x ] 9.4.1 latest supported release

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:32 (32 by maintainers)

github_iconTop GitHub Comments

2reactions
EPTammingacommented, Nov 14, 2019

@sleupold You are absolutely right, but… the ideal situation almost never exists, so we have to work with a non optimized situation.

Can we start working on a better solution for the cleanup of the eventlog?

2reactions
sleupoldcommented, Nov 14, 2019

@thabaum, if you want to purge the schedule history, you should just execute TRUNCATE TABLE {databaseOwner}[{objectQualifier}ScheduleHistory] in BersonaBar > Settings > SQL console.

Purging Eventlog is a different task, and due to some changes in DNN 7.4, you may use my TruncateEventlog script (which does not require TurboScripts to be installed). My TurboScripts however try to provide better automated maintenance of the log tables, but require proper application of the scripts (and I am still working on the version for DNN 9.4.x)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Database has grown by over 1GB in a few months
Now, today after updating to 9.4.1 a few days ago, the database itself is 1.9GB ... if you want to purge the schedule...
Read more >
DNN Backup - Release Notes
ENH: New Tool to Shrink Database, Delete entries older than X day for DNN Admin Log, Site Log, Schedule History, and Host (Server)...
Read more >
Bug listing with status UNCONFIRMED as at 2023/07/13 17 ...
... Bug:382827 - "sys-apps/portage-2.1.10.11 crashes with confusing error when out of ... A Hate Story" status:UNCONFIRMED resolution: severity:enhancement ...
Read more >
Scaling Distributed Machine Learning with System and ...
In this thesis, we focus on the co-design of distributed computing systems and distributed optimization algorithms that are specialized for large machine ...
Read more >
IBM zPDT Reference and Guide
2.3.2 zPDT instances. ... userid ibmsys1 starts zPDT then only Linux userid ibmsys1 can issue an ipl ... cause I/O timeout errors to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found