Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

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

 

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

onlyab

Date:: Dec 28, 2010

Time:: 23:54

In my opinion, the fastest way to become a computer expert is to have a powerful software in your PC, tuneup360 is such a software, have it in your computer, you can handle all the problems by yourself.

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 Experts

View More

Rank

Expert

Points

1.

nidhi

10279

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

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