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...DNN App Pools Killing Server with High CPU UtilizationDNN App Pools Killing Server with High CPU Utilization
Previous
 
Next
New Post
5/9/2013 7:34 AM
 
you should start clearing scheduleHistory, this table may have got too large. please execute the following statement in Host > SQL:
TRUNCATE TABLE {databaseOwner}{objectQualifier}ScheduleHistory
Which jobs are currently enabled in your installation?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/19/2013 1:12 PM
 

I have been having many issues with this- and until I read where to disable - I was not really aware these were creating the problem.  My hoster -  Arvixe thought this was a way to solve the App Pool time out issue (where the application stops and you get a 503 error:

 It appears that DNN is taking more than the configured 90 seconds to stop when a recycle of the application pool is triggered.
The only other relevant error found in the server logs relates to forms authentication and is probably because of the above.

I have configured your application pool shutdown timer up to 120 seconds, and set the application pool recycle interval to 24 hours specifically for your site.
If this resolves or at least mitigates the trouble there, we can duplicate the settings to your other affected sites.

DNN has gotten so large lately (the application size) that I would not be surprised if it is just taking more than 90 seconds to stop, even under light load.

 Question:  Is the shutdown timer an issue for the App pools or is it the scheduler or is it both?

i have taken the scheduled tasks - all of them off-  however the logic built into this escapes me- perhaps there could be a primer on what is really needed for which tasks and how frequent  -so small sites and low users do not  run into this issue.

 I have approx. 400mb alotment so how often is a refresh really required/  Point me in the right direction or to a post or documentation that explains this in more detail (thinking other users would also benefit from such info).

Thanks,
Mike

 
New Post
6/19/2013 4:54 PM
 
In my own case (see two posts higher) my problem with high CPU has gone away since I removed the News module from the installation.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
12/23/2013 9:46 AM
 

I ran into a high CPU problem on our production server last week. (DNN version 6.2.5). The problem did not manifest itself on our test-server, nor in our development environments. There also seemed to be no relation between the number of requests and the probability of the problem occurring.

I made dumps using DebugDiag and the (32 bit version of) taskmanager. Analyses of the dumps with WinDbg  showed all of the runaway threads busy with an Insert call on a generic dictionary in the UserController.GetCachedUser method.

This method indeed gets a dictionary from the cache and sets a value on it. The dictionary is a common generic dictionary, not thread-safe. However the object is shared among threads through the cache, and thus a thread-safe dictionary should be used.

I have fixed this by changing line 242 in method UserController.GetUserLookupDictionary so that the CBO.GetCachedObject overload with the saveInDictionary parameter is used, having set the saveInDictionary  parameter to true.

So far, the high CPU problem has not returned in the past 24 hours. Before the fix, the problem would manifest itself one or more times per hour. The fix does not seam to have had any adverse effects on performance or otherwise.

 

 

 
New Post
12/23/2013 6:56 PM
 

Marco, thanks for looking into this and finding a solution! Could you report the issue to the dnntracker.atlassian.net site so that it can get included in the core? Thanks!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...DNN App Pools Killing Server with High CPU UtilizationDNN App Pools Killing Server with High CPU Utilization


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