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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How many modules is too many?How many modules is too many?
Previous
 
Next
New Post
1/25/2007 4:57 PM
 

Please excuse just a little extra ongoing confusion - although thank you very much for the information as this is certainly helping me (and I hope others) understand it a lot better.

On my VPS account I have one DNN 440 instance. That instance currently has 9 portals on it, each of which is a different website with its own unique domain name. Each domain is a unique website and all websites run (as portals) within the same DNN instance. I don't have multiple domains pointing to the same 'website'.

Do I uderstand it correctly that it is not really the DNN instance, but rather the domain name, that IIS assigns these app-pool resources to? If I tell my host to put all domains that point to the same DNN instance (even though they are different 'websites') in one app pool, then I will possibly save masses of memory on the dll's.

On that note, wouldn't one therefore always want all domains that point to any portals within the same DNN instance to be placed in the same app pool?

I'm really digging for this information because in future I might have 200 different domains/websites running off this single DNN instance and I need to figure out how to stop it using 200x50mb of ram when they all fire up. I think you're saying that I could configure them to use just 1x50mb plus caching etc?

You see... I wouldn't run a keepalive on 200 low-use single page websites if they needed 50mb each, but I would run a keepalive on a single one if it kept the dll's loaded for all 200.

I think this is the question: Does each domain that points to a unique website require a seperate IIS app-pool, or can many domains that point to many sites within the same DNN instance share the same app-pool? If the latter is correct, then I will tell the host to assign all the domains to the same app-pool. Why would one ever have them in separate pools?

I've got a VPS with dedicated resources and (apparently) including its own dedicated Windows operating system (I presume that will mean its own IIS as well). I understand I can tell the host to configure it in whatever fashion I prefer. I also understand that if I paid another $30 for remote desktop access then I could even do it myself, but seeing as I don't yet know what I'm doing, I won't.

Given all that... I'm pretty sure that I'm free to configure the server to run lots of separate sites off a single DNN instance in the most efficient manner.... once I've fully understood what that is :)

In my hosting control panel, I can point each domain name anywhere and I have pointed them all to the folder where my DNN440 instance resides. I'm now wondering if having this function in the panel implies that each of the domains has its own app-pool?

Any further advice is very much appreciated. These questions have been at the back of my mind for a couple of years now.

Rob

 
New Post
1/25/2007 9:18 PM
 
joaobeltrao wrote

So having 2 entries for websites on IIS pointing to the same DNN 4.4.0 installation and having both websites using the same AppPool, and both sites on the same DNN instance is the same thing as having 1 website entry on IIS with two url aliases, in terms of performance?

I have a DNN 4.4.0 installation with 3 portals, and 3 website entries on IIS pointing to the same directory (the DNN 4.4.0 directory), and the 3 websites use 3 different AppPools (for isolation purposes). If I configure the websites in IIS to use the same AppPool will I get significant performance improvements? Is this the same thing as using only 1 website entry on IIS with 3 url aliases?

 

effectively yes (though i suspect there may be a small overhead to having seperate IIS instances, but have no stats to back that up). An app pool will host 1 copy of the .net framework (if you're using asp.net 1.1 it's about 26MB, if it's asp.net 2.0 it's about 30MB - if you try to host two websites mapped to 2 different versions of asp.net, the first request will load it's version of the framework, and any request for the other will crash as you cannot load two copies of the .net framework in the same app pool). In addition, it will host anything that the website uses which requires memory,. This is the same case, whether or not they are seperate IIS instances, or seperate virtualised websites (as per dotnetnuke).However, there is a small degree of variation in object usage e.g. seperate IIS sites will have seperate application, session and cache objects, whereas dotnetnuke sites running under one IIS instance will share the same application, session and cache space (note: we ensure that values stored in the cache are keyed per portal, so whilst they're stored in the same memory space they're logically seperated as though they were stored in seperate IIS instances) 

In your case, each app pool is hosting it's own version of the framework (e.g. 3x30MB=90MB of ram). If you used only one app pool you would automatically save 60MB of ram, plus any other shared dll's e.g. if your 3 dnn sites all have 20MB of dll's then you would save 40MB's again. If your server doesn't have much ram, then this could have a noticeable effect, though you lose the advantages of app pools such as worker process isolation, health monitoring, scheduled recycling etc.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/25/2007 9:26 PM
 
robax wrote

Please excuse just a little extra ongoing confusion - although thank you very much for the information as this is certainly helping me (and I hope others) understand it a lot better.

On my VPS account I have one DNN 440 instance. That instance currently has 9 portals on it, each of which is a different website with its own unique domain name. Each domain is a unique website and all websites run (as portals) within the same DNN instance. I don't have multiple domains pointing to the same 'website'.

Do I uderstand it correctly that it is not really the DNN instance, but rather the domain name, that IIS assigns these app-pool resources to? If I tell my host to put all domains that point to the same DNN instance (even though they are different 'websites') in one app pool, then I will possibly save masses of memory on the dll's.

On that note, wouldn't one therefore always want all domains that point to any portals within the same DNN instance to be placed in the same app pool?

I'm really digging for this information because in future I might have 200 different domains/websites running off this single DNN instance and I need to figure out how to stop it using 200x50mb of ram when they all fire up. I think you're saying that I could configure them to use just 1x50mb plus caching etc?

You see... I wouldn't run a keepalive on 200 low-use single page websites if they needed 50mb each, but I would run a keepalive on a single one if it kept the dll's loaded for all 200.

I think this is the question: Does each domain that points to a unique website require a seperate IIS app-pool, or can many domains that point to many sites within the same DNN instance share the same app-pool? If the latter is correct, then I will tell the host to assign all the domains to the same app-pool. Why would one ever have them in separate pools?

I've got a VPS with dedicated resources and (apparently) including its own dedicated Windows operating system (I presume that will mean its own IIS as well). I understand I can tell the host to configure it in whatever fashion I prefer. I also understand that if I paid another $30 for remote desktop access then I could even do it myself, but seeing as I don't yet know what I'm doing, I won't.

Given all that... I'm pretty sure that I'm free to configure the server to run lots of separate sites off a single DNN instance in the most efficient manner.... once I've fully understood what that is :)

In my hosting control panel, I can point each domain name anywhere and I have pointed them all to the folder where my DNN440 instance resides. I'm now wondering if having this function in the panel implies that each of the domains has its own app-pool?

Any further advice is very much appreciated. These questions have been at the back of my mind for a couple of years now.

Rob

to anwer you questions:

yes, each IIS instance is mapped to an app pools, dotnetnuke virutalises sites, so as far as app pools are concerned they're the same IIS instance. You could save memory if you point all your IIS instances to the same app pool, but i suspect that's what your host is already done (it's common practice of hosts to create 1 app pool per customer, and to map all customer IIS instances to that app pool, this is a secure practice known as worker process isolation mode )

you may not want to use the same app pool, as only one version of the .net framework can exist per app pool.

I seriously doubt your host is providing seperate app pools per IIS instance as you would rapidly use up all Ram -this would not be economically scalable for a host, unless you have a dedicated server, in which case the only person you inconvenience is yourself.

Beyond this, I cannot answer any of your questions, as they relate to how your host is configured, which I can only guess at. I would suggest emailing their technical help and asking them if all your sites run under 1 app pool.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/25/2007 9:28 PM
 

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/28/2007 6:43 AM
 

Thanks for the information Cathal, that pretty much explains it for me and no doubt others will also benefit from the thread.

I'm off to read those articles now!

Regards,
Rob

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How many modules is too many?How many modules is too many?


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