Solved

IIS7.5: Website freeze on initial request

Posted on 2011-02-19
7
1,600 Views
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"?

Thanks!
Mojo
0
Comment
Question by:M_O_J_O
  • 3
7 Comments
 
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.
0
 

Author Comment

by:M_O_J_O
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.

Mojo
0
 
LVL 27

Expert Comment

by:BigRat
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.
0
 

Accepted Solution

by:
M_O_J_O earned 0 total points
ID: 34979683
0
 

Author Closing Comment

by:M_O_J_O
ID: 35015398
Because I solved it myself.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

862 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now