I have been looking around to see if there is some sort of a hard limit on websites in IIS 7 before you start seeing significant performance decreases??
I was also wondering how much strain logging each request puts on IIS? Currently we log all requests that are recieved, but I am unsure of how much impact this is making.
There is no hard limit on the number of web sites in IIS7. Internally we have tests that create about 100,000 sites without issues.
If you are going to have thousands of active sites we recommend centralized logging, having log files for individual sites will run the machine out of memory.
Are you running a 64-bit OS? How many sites are loaded when you run out of memory?
How many sites you can hosts on a particular server typically depends on the hardware you are using and the kind of sites you are running. IIS doesn't impose an upper cap on the number of sites that can be configured on a box, but, you want to be judicious
about how many sites to configure, number wise 5000 is fair. The next thing to look at is what kind of different sites you have and what is their memory usage. Depending on what this memory usage looks like you can have few or more sites active at any point
of time.
C.Stolworthy
1 Post
IIS Website limit
Sep 12, 2008 08:04 PM|LINK
Hey everyone,
I have been looking around to see if there is some sort of a hard limit on websites in IIS 7 before you start seeing significant performance decreases??
I was also wondering how much strain logging each request puts on IIS? Currently we log all requests that are recieved, but I am unsure of how much impact this is making.
Can anyone point me in the right direction?
mukhtard
206 Posts
Microsoft
Re: IIS Website limit
Sep 13, 2008 12:32 AM|LINK
There is no hard limit on the number of web sites in IIS7. Internally we have tests that create about 100,000 sites without issues.
If you are going to have thousands of active sites we recommend centralized logging, having log files for individual sites will run the machine out of memory.
Thanks,
Mukhtar Desai
IIS Performance Team
kartik_maguw...
1 Post
Re: IIS Website limit
Jun 10, 2010 01:14 PM|LINK
I have server with 2.56 Ghz - 16 Core CPU and 8 Gb of RAM.
I have 5000 hosted sites on the server with separate application pool.
We estimate 1600-2000 active site. But when we run stress tools its running out of memory.
Is it possible to host 5000 site with this configuration on separate application pool.
Please reply.
IIS 6
mukhtard
206 Posts
Microsoft
Re: IIS Website limit
Jun 10, 2010 06:39 PM|LINK
Are you running a 64-bit OS? How many sites are loaded when you run out of memory?
How many sites you can hosts on a particular server typically depends on the hardware you are using and the kind of sites you are running. IIS doesn't impose an upper cap on the number of sites that can be configured on a box, but, you want to be judicious about how many sites to configure, number wise 5000 is fair. The next thing to look at is what kind of different sites you have and what is their memory usage. Depending on what this memory usage looks like you can have few or more sites active at any point of time.
Please take a look at the following link:
http://blogs.iis.net/mukhtard/archive/2009/04/21/webhosting-performance-tunings-for-iis7.aspx
Thanks,
Mukhtar Desai
IIS Performance Team