Register  |  Login



Earn money by sharing your knowledge through Quomon's revenue sharing program

Question

Status: Closed Points: 125 Time: 05:20 - Oct 03, 2007  

dustPuppy

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?

Answer Discussion
Tutorials

 

Q&A System for Websites and Corporate Collaboration

Advertisement

  • Generates significant organic traffic for websites
  • Saves companies money, resources, and time

dustPuppy

Date:: Oct 03, 2007

Time:: 05:42

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?

oracleofDelphi

Date:: Oct 03, 2007

Time:: 16:12

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.

dustPuppy

Date:: Nov 08, 2007

Time:: 11:47

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

Question Answered

This question has been closed, 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 a Tutorial in the Tutorial Area.

Answer 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:

Forgot Your Password?

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

Answer 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:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Websites Experts

View More

Rank

Expert

Points

1.

LAGM

900

2.

rcastagna

500

3.

nidhi

360

4.

oracleofDelphi

355

5.

PeterNZ

280

6.

multani.sarbjit

200

7.

jgivoni

190

8.

barun

75

9.

dustPuppy

75

10.

john2

65

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




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



Language Options

English:

www.quomon.com

Español:

www.quomon.es