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 ...multiple processor server (webGarden)multiple processor server (webGarden)
Previous
 
Next
New Post
5/22/2007 1:31 PM
 

I have my DNN instance on a dedicated server with multiple processors and was wondering about utilitizing the server's full resources to make DNN uber fast.  DNN is the only application I have running on the server, so I don't need to worry about anything else messing with it. 

I had been reading about (never knew this before) the machine.config and the processModel section where you can set to have the ASP.NET process use multiple processors.  I had always assumed it already did and so never really looked into this before.  At any rate, I configured my machine.config to have webGarden="true" and set the mask to allow use of all processors (in this case, just 2).

Next, I modified my web.config to allow storage of the sessionState in the ASP.NET session state server (apparently the default web.config for DNN was devoid of any entry for that at all, so I had to add it).

At first, it all seemed to be working fine, but then came screeching to a halt and *if* it would access at all, was getting a general "dotnetnuke timeout".  I put everything back the way it was, tried resetting IIS and application pool, and it still had issues.  I reboot the server and now it is back up and running again.

Question is, can I not run it with multiple processors?  Or beyond that, if I can, what the heck did I do wrong?


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
5/22/2007 1:46 PM
 

DotNetNuke is not architected to be able to handle the multiple worker processes of a web garden. The most common problem is with caching, but there is also problems where the scheduler will run multiple times on the same task which is probably what caused your timeout/deadlock issues.


DotNetNuke Modules from Snapsis.com
 
New Post
5/22/2007 1:51 PM
 

Oh, that makes me sad.  But at least I understand what happened and won't do it again.  Thanks for the heads up.

This actually brings up a very interesting question -- can i have webGarden enabled on a server with multiple applications but disable it on a per-application basis?  My thoughts are "no", since the processModel attribute is not allowed within a web.config.  Obviously on my server for DNN this wouldn't be an issue, but I have applications that I use on another server that might benefit from multiple-core processing.

Thanks for the quick response though, and it makes perfect sense.  I do have multiple items in the scheduler that run every couple minutes and of course, hundreds upon hundreds of pages that need to deal with caching... so, that explains it very well.


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
5/22/2007 1:57 PM
 

In Windows Server 2003 (IIS6) you can put application in their own App Pool and configure the web garden on the app pool, but it sounds like you are still using IIS5 and doing it in the machine.config so I am pretty sure the answer is no.


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...multiple processor server (webGarden)multiple processor server (webGarden)


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