Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using windows server 2008 R2 to only host one application (asp.net mvc3). The first time the initial page load was really slow.

In my app pool recycling setting, only "regular time intervals"(in minutes) is checked and the value is set to 1740. If I understand correctly, my app pool will be recycled every 29 hours. however, I noticed sometimes after a couple hours I go back to my web site, the page load is slow again. It seems like the app pool got recycled. this is the dev server, no traffic at all. Is it because there's no traffic so it recycles itself, even though the time intervals were set to 29 hrs?

share|improve this question
add comment

2 Answers

up vote 10 down vote accepted

Look at the app pool's Advanced Settings, and under Process Model you probably have 'Idle Time-out (minutes)' set to 20.

If the site is not accessed for this amount of time, the app pool will shutdown, releasing it's resources back to the system.

share|improve this answer
    
thank you so much. this is exactly what I am looking for. sorry I cannot vote it up, need at least 15 reputation to do it. –  user61752 Apr 4 '12 at 17:55
add comment

I would recommend using Fiddler to analyze the web traffic, and see if you can identify where the bottlenecks exist. You might also want to consider using Performance Monitor to watch RAM, CPU, and IO usage...

If the server has even decent hardware, a decent network connection (100mbps is fine for your environment) then delivering one web site should be childs play. It's time to look at other factors.

Does your code make any DB calls? is that DB on the same server or another server?

Have you done anything to help increase performance within IIS?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.