Register  |  Login

Question Details    

   Question

Time: 05:20 - Oct 03, 2007     Asked by: dustPuppy      Status: Answered      Points: 125   

how do i limit system ressources for a website in IIS 5.1?

I'm running a website for testing purposes on my local machine. It's a windows xp pro with Internet Information Services 5.1 as web server.
I would like to be able to limit system ressources (CPU and RAM) to be used by the website, so that if it's doing something "heavy" it's not making the whole computer stall.
Is there a way to do that?

Ask a New Question

Become a Quomon Expert

Current Categories

 

Other Questions Needing Answers


   

Answer Discussion
Answer Discussion
Answer Summaries
Answer Summary
 
I have read now that this is not possible (http://www.thescripts.com/forum/thread27...).
Instead they propose that f.ex. in a C# asp.net site you run ressource heavy processes in a new thread with a low priority so that they don't consume the system from other "normal" processes.
I'm still wondering if it isn't possible at the level of the site or IIS itself to set a limit on how many ressources it may consume or a priority on the processes?

Expert:

dustPuppy

Date:

Oct 03, 2007

Time:

05:42

 

Votes: Good (0) | Bad (0)
Login to rate this answer

I'm not sure about IIS5 but in IIS6 you can completly limit processes as either CPU percentage limitization or memory usage limitization (both virtual and conventional separately) or both.
to do this you need to make a copy of the default virtual application pool for each site.
to do this, open IIS and expand your servername then application pools. you can right click on the default application pool, select all tasks and save the configuration to a file. then you can right click on the application pool folder and select new app. from file and use the file you just saved. Create the app pool with a different name and viola, a new app pool for your website.
now go into the properties for this application pool and you can set all the limits you want within the first two tabs (memory, cpu utilization etc.)
now go to your website's properties in IIS and change the application pool to the one you've just created and configured and hit OK. (apply this to all subdir as well if asked). that's it.

Expert:

oracleofDelphi

Date:

Oct 03, 2007

Time:

16:12

 

Votes: Good (0) | Bad (0)
Login to rate this answer

hmm, yes, I think that was what I thought was possible for IIS 5 as well. But apparently it isnt :(

Expert:

dustPuppy

Date:

Nov 08, 2007

Time:

11:47

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Question Answered

This question has been answered, and points have been rewarded to the following experts:

dustPuppy: 80
oracleofDelphi: 45

You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.

 
No summaries have been submitted yet. Want to be the first?



Respond to this question:

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

 

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

   

"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Quomon Blog

blog.quomon.com

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment