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...Administration ...Administration ...100% CPU Usage and Site Crash- DNN 3.1.1.0 / 2003 Server / IIS 6 / SQL 2K100% CPU Usage and Site Crash- DNN 3.1.1.0 / 2003 Server / IIS 6 / SQL 2K
Previous
 
Next
New Post
3/30/2006 5:19 PM
 
Good day everyone,

I have a faily large usage DNN site (not quite as much as DotNetNuke.com). Before going live, we didn't have any problems or experience any crashes.

Since then however (same server and configuration, "go-live" was a DNS switch only), we're experiencing site crashes where the IIS W3wp.exe process spikes to 100%, consumes about 900Mb of memory, then seems to "lock up" and we're unable to browse to the site ("Cannot find server or DNS Error" is reported by IE).
 This happens several times a day (at one point, we couldn't keep the server up for more than 10 minutes). When we watch the W3wp.exe process, we can see the memory useage increase. To clear the problem, we have to recycle the Application Pool.

Meanwhile, we've implemented a couple of things to alleviate the problem for our users:
- Recycle the application pool when 500Mb of memory is consumed.
- Blocked search engine crawlers except for Google, MSN, and YaHoo.

Has anyone else experienced this or have any ideas?

This is our configuration:
- DNN 3.1.1.0
- Windows 2003 Server
- IIS 6
- VMWare
- SQL 2000 database on another server.

Thanks,
- Dave
 
New Post
3/30/2006 5:31 PM
 

Dave - welcome to the world of DNN!! I have this problem and it's been driving me mad..

I actually wrote a bit on my blogs about it - http://www.xd.com.au/blogs.xd?EntryID=312

But the first thing we've done that's helped is change the caching memory to disk. You may need to modify your pagesys file to maximum and while the response is milliseconds slower, it does help alleviate some of the problems.

You might also check your error logs and see if there is something showing there.. I bet you've got some rogue module creating memory leaks.

This blog mght give you some insight but honestly - it's been very difficult for me to manage my servers, but I'm on Win2k so the behaviour is even worse.

I also read in the Core forums some problems with the NRL site - it's giving them hell when it spikes.. There was discussion of how some of the code was working and what core solutions there could be to rectify this, but not being a coder, I'm not able to exactly cover this in much detail.

Administration of a DNN site uses alot of memory, can you not use application pooling on your server to manage this behaviour and stop it from affecting other sites? Or is this a dedicated box  ( I think it would be based on they type of site you are describing)

3.1.1 is a stable build - so there might be some further optimisation you can do, but I would be checking your modules, particularly if you have anything that is XML based, it will eat into your memory like you can't believe.

Anyway my blog might give you some further snippets on this extremely frustrating issue that I have had to battle with over the last 2 months.  However, I did have a site on there which when I asked the developer to move, it did help somewhat.. so a bad module will surely spike your aspnet exe like you've never seen before.

Check also your sql logs - on the other box - that too can cause problems and lock the server.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
3/30/2006 6:06 PM
 
Hi Nina,

Currently the site is running on a dedicated server (but only because we don't want to put more sites on the same box while we're experiencing this problem).

The site usually doesn't have anyone logged into it, it's a "get information here" type site only (we don't even show a login link anywhere to users).

We've been working with DNN since 2.1.2, and have between 10 - 15 custom modules (all of them DNN3 modules) working on the site and had 2 developers (one of them a senior developer) inspect them for memory leaks using third party tools.

Also, we're not getting anything in the event log to hint that there might be a problem. We'll look into the SQL logs and disk caching (and I'll reasearch the Core forum). Can you be more specific about what SQL might be doing to cause problems (possibly tying up application connections)?

Meanwhile, I'm interested in hearing from other's experiences with this problem.

Thanks,
- Dave
 
New Post
3/30/2006 6:27 PM
 

Can you look at your event logs - they will tell you a few things and post what they say here - i know there is something that refers to bitchunk and not enough space, which I originally thought was a disk space issue but upon searching, I found it was in fact something to do with sql and the field parameters being too short but I've never been able to track it down.

You could also google the event Id's that are created when you have these problems *sigh*.. many a saturday night and sunday have been spent reading through them and since I'm not a qualified administrator, and only learnt through having to sort out my own problems, I can't quickly identify them.

I do know that there are also sql administrators and IIS admnistrators who can assist in tweaking the default settings that you need to do when you reach a certain size of traffic because the standard settings simply don't apply.

However, having said that I'm not qualified, it doesn't mean that I don't know how to manage my servers, it's just something that I find alot of people don't have answers for and we're simply working on the the knowledgeabase at the moment.

So check out the eventID and see if that doesn't give you some more information too - i thik there is a site called eventID.net- it's bookmarked ony server so I'm just guessing now - but that's also a good start to look.

And please if you find something enlightening here, share it - so I can also nut out this annoying problem.  And also, I don't get EventId entries, or log files either so if you don't get them either - doesn't mean the the problem doesn't exist.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
3/31/2006 1:39 AM
 

HI,

We've bean also having similar problems (CPU 100%). Mostly it was due to 2 possible reasons (if we can eliminate the server as an issue?!?!)

What is important about these things is that they all still cause problems after improving the performance(well actually execution time) with some standard things (like compression, moving viewstate to the server, improving caching).

So guys you have some real problems:

1. Schedule problems

Poorly progammed scheduled jobs. One good example of this is the FileSyncronization Schedule, if you have allot of files it will very likely spike your server to 100%. I've described this problem already on this thread

2. Module problems

Some of the modules are bult well, some are not.... also some are configured well, some are not.... to be more concrete, we turned on  module caching for DnnBB forum, and with public pages it would just get *stuck* and loop into something until the timeout would brake.

When viewing the application internals with WindowsDebugger at time when the cpu was at 100% I either found only run-away threads with scheduler or DnnBB executing allot of repetative statements. For DnnBB I got the same result when viewing the SQL database with SQL Profiler.

My imediate cure for the problem was:

1. Turn off file syncronization (it ran every hour, for 40 minutues each time - spiked the server, we had about 10000 files on that host, more info on the mentioned thread above)

2. Turn of module caching for DnnBB (now the forum runs ok)

I'm not sure that these are all of our problems, but with this we solved most of them, and the server is breathing allot easier now!

hope this helps a bit

 

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...100% CPU Usage and Site Crash- DNN 3.1.1.0 / 2003 Server / IIS 6 / SQL 2K100% CPU Usage and Site Crash- DNN 3.1.1.0 / 2003 Server / IIS 6 / SQL 2K


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