IIS protection

  • Thread starter Thread starter John Wood
  • Start date Start date
J

John Wood

I have a couple of questions (that may be more IIS related):

1. If my ASP.net application gets caught in an infinite loop... how does the
process ever get terminated? Does it time out?
2. If my ASP.net application consumes all resources (eg. creates a bunch of
brushes it doesn't release), can this affect other processes running on the
ASP server at my hosting site?

Thanks,
John
 
This depends largely on what version of IIS you are running. IIS5, it will
take down the process since there is no true isolation mode. IIS6 achieves
true isolation so strained resources only affect the particular application
pool. Note that high cpu will affect the server since it is necessarily a
shared resource. IIS6 allows for the recycling of the application pool based
on particular settings so it is possible to protect other application pools
 
Thanks for your response.
Is there any protection against CPU usage at all?
How do web hosting companies typically maintain the CPU usage across
applications, and ensure that one application isn't hogging the machine?

Alvin Bruney said:
This depends largely on what version of IIS you are running. IIS5, it will
take down the process since there is no true isolation mode. IIS6 achieves
true isolation so strained resources only affect the particular application
pool. Note that high cpu will affect the server since it is necessarily a
shared resource. IIS6 allows for the recycling of the application pool based
on particular settings so it is possible to protect other application pools

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
John Wood said:
I have a couple of questions (that may be more IIS related):

1. If my ASP.net application gets caught in an infinite loop... how does
the
process ever get terminated? Does it time out?
2. If my ASP.net application consumes all resources (eg. creates a bunch
of
brushes it doesn't release), can this affect other processes running on
the
ASP server at my hosting site?

Thanks,
John
 

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

Back
Top