IIS7.5: Website freeze on initial request

Posted on 2011-02-19
Medium Priority
Last Modified: 2012-05-11
Hi all,

(Using IIS 7.5 on Windows Server 2008 R2 x64)

When I browse my website first time, page keeps spinning/loading and the it never gets loaded. If I few seconds later try to load it again, everything loads fine. If I come back to my website an hour later, the same problem ... first request fails and following succeeds. So I don't believe it is compiling the page, because then it should only be a problem  on the first request.

Can it have something to do with "recycling"? I have set "Idle time-out" to 0 and Recycling "Regular time interval" to 0.

Before I browse my website, I take a look at "Worker process" and it says that the app pool process is running.

Any idea why my website "falls asleep"?

Question by:M_O_J_O
  • 3
LVL 13

Expert Comment

by:Greg Hejl
ID: 34937217
sounds like a resource unavailable issue - website finally stops trying to acquire unavailable resource and then website is cached.  website cache is then cleared and next access tries to load unavailable resource again.

i've used Firebug to discover this sort of issue - it is a plug-in available for firefox.

Author Comment

ID: 34938366
Hi Greg,

Well I can't see what resource it should be. The website hangs even before firebug gets to show anything.

I have 15 websites on that server - thay all do the same (hang on initial request).

Funny thing is that my other new server with Echange 2010 ... owa 2010 also hangs on initial request and I have to stop the browser and enter url again - and then it works.

I've tried with several webbrowsers on several PCs.

I have a new TMG 2010 firewall, but that shouldn't interfeer?

I'm clueless here.

LVL 27

Expert Comment

ID: 34952489
>>I have a new TMG 2010 firewall, but that shouldn't interfeer?

Well in my experience they usually do.

I'd take this out, or at least configure it out and test again. It could be that the thing is incorrectly configured and thinks that the first request is one of a series of DoS attacks.

Accepted Solution

M_O_J_O earned 0 total points
ID: 34979683

Author Closing Comment

ID: 35015398
Because I solved it myself.

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…
Through the video, you can check the migration process of Outlook PST file to PDF. Kernel for Outlook to PDF tool can convert Outlook emails with all attributes like Subject, To, From, Cc, Bcc and other folders such as Inbox, Outbox, Sent Items, Jun…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question