Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2005

Tip: Looking for answers? Try searching our database.

Configuration for multiple ASP.Net Worker processes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff Clausius - 02 Mar 2005 22:59 GMT
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
Manohar Kamath - 02 Mar 2005 23:50 GMT
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 :)

Signature

Manohar Kamath
Editor, .netWire
www.dotnetwire.com

> Does anyone know if it is possible to configure IIS 5.0 to run distinct
> ASP.Net worker processes for each distinct Web Site?
[quoted text clipped - 10 lines]
> Thanks
> Jeff Clausius
Jeff Clausius - 03 Mar 2005 14:35 GMT
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?

> 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 :)
Manohar Kamath - 03 Mar 2005 15:45 GMT
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.

Signature

Manohar Kamath
Editor, .netWire
www.dotnetwire.com

> If all threads exist in one worker process, one bad apple can bring down
> the entire worker process.
[quoted text clipped - 4 lines]
> > with multiple threads servicing different app domains. Time to upgrade
:)
Jeff Clausius - 04 Mar 2005 15:35 GMT
Great.  Thanks for the explanation.

Jeff

> From what I know, although there is one worker process, but requests
> are processed on different threads. So, if a request in one thread
[quoted text clipped - 5 lines]
> are running out of process of IIS, the requests to ASP.NET pages are
> still made to the worker process.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.