Select Categories Below
Status: Closed Points: 125 Time: 05:20 - Oct 03, 2007
dustPuppy
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?
Categories:
Add Categories
When adding more than one category, separate them with commas.
Advertisement
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
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.
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:
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?
Enter your email address below and we will resend your login information to you.
Login Information Sent
Questions
how do i open a file dialog in .net (a windows application)?
When trying to alter a table in MySQL, I get "Error on rename... (Errcode: 13)"
how do i delete a top domain cookie from a subdomain?
Hi Am Rakesh, Am generating User Data List, Details Given Below.Please Help Me.
What is some free software for recording the movements on your computer screen t...
Good project management software?
You have 100 characters to use
Rank
Expert
Points
1.
900
2.
500
3.
360
4.
355
5.
280
6.
200
7.
190
8.
75
9.
10.
65
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 it
Language Options
English:
Español:
Sponsors
Questions and Answers Software Real Estate Postcards Marketing Fulfillment