Hi, Every time I visit my website /app for the first time, it takes minutes to load and sometimes causes a server timeout. But once it loads correctly, it works fine for some time say 1-2 hour. What could be the cause?
It is because your website has 'unloaded' because of a lack of activity. As you say, "it appears every time a certain website is not visited for some hours."
This is common IIS behavior to conserve resources on the server. The side effect is that it can take a long time for the application pool to restart. If there are a lot of sites in a common app pool the initial startup time is even worse.
To avoid this problem, get more people to visit your site! :)
Until the masses visit your site regularly, you could increase the inactivity timeout in IIS.
edit | flag
Gokul A Answered on: Jun 21, 2011 at 1:33AM
Post your Answer
Welcome to Ask Amoeba! This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions. Learners, beginners, Experts stop and share your knowledge and ideas!