Configuration for multiple ASP.Net Worker processes

J

Jeff Clausius

Does anyone know if it is possible to configure IIS 5.0 to run distinct
ASP.Net worker processes for each distinct Web Site?

For example, in IIS 6.0, you can create WebSite1, and WebSite2. Then
install two distinct ASP.Net apps under each web site. Once both
applications have been started, you will notice two distinct w3wp.exe
processes.

However, with IIS 5.0, the same configuration results in one single
aspnet_wp.exe process. Is it possible to make a change to either IIS or
the .Net framework to allow multiple aspnet_wp.exe processes to run?

Thanks
Jeff Clausius
 
M

Manohar Kamath

That's the limitation of IIS 5, you can't -- there is one worker process
with multiple threads servicing different app domains. Time to upgrade :)
 
J

Jeff Clausius

If all threads exist in one worker process, one bad apple can bring down
the entire worker process.

How does the IIS application isolation prevent this? Or does it?
 
M

Manohar Kamath

From what I know, although there is one worker process, but requests are
processed on different threads. So, if a request in one thread gets bad, the
thread just exits with an error, with the aspnet_wp.exe still handling other
requests.

Also note that the IIS 5 application isolation applies to the app, and not
to ASP.NET in particular. Even in high-isolation mode, when apps are running
out of process of IIS, the requests to ASP.NET pages are still made to the
worker process.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top