Solved

Web Server takes long time to respond on first request

Posted on 2009-05-03
6
1,108 Views
Last Modified: 2012-05-06
I've got a W2K3 R2 Server running IIS

Here is what is strange. Any initial web request coming takes like 7-15 seconds to be responded to, but after that, it's fine and there is no delay.

This is also the case when trying to GO TO any web site out on the Internet from the server.

I also noticed that when trying to ping, that takes the same amount of time to initialize.

Has anyone else noticed this issue and have any suggestions?

Thanks,
Mike
0
Comment
Question by:msheppard74
  • 4
  • 2
6 Comments
 
LVL 4

Expert Comment

by:dj_relentless
ID: 24291242
That's normal on the first run when using application pools. Theres a good reason for it but I don't know the technical details.
0
 

Author Comment

by:msheppard74
ID: 24294701
Well, I know that everything takes a little bit to initialize with application pools, but this doesn't even appear to be the same thing. The website isn't even responding to the request at first...the browser just sits waiting for an ACK from the server.

If it was an Application Pool issue, PING-ing wouldn't do the same thing. It seems to be a network or data link layer issue to me.
0
 
LVL 4

Expert Comment

by:dj_relentless
ID: 24299206
It's an asp.net website right? It could be something else all together, I'm just saying that by default when you first startup an iis site it will take a while to respond to the first request while it initializes. If you think it's a network layer issue then it should be happening irrelevant of having IIS started or not right?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:msheppard74
ID: 24300784
That is correct. This happens if you open a browser ON the server and go to say espn.com or something, the browser just sits there and takes a long time and then finally makes a connection after 12 or more seconds. After that you can navigate that website easily, you can even close the browser open it back up and load up espn right away. However, if you wait like 20 minutes that initial delay happens again. This same thing happens when you try to get to the site our server is hosting. This will happen regardless of how long IIS has been up for.

Then keep in mind that PING acts in the same manner, which is what makes me think it's something to do with the network and maybe even transport layer. It's like it has a hard time creating sockets, but after a while finally does...it's definitely weird.
0
 

Author Comment

by:msheppard74
ID: 24300785
And yes, I can shut down IIS and try to go to some website from that server...same delay is there.
0
 

Accepted Solution

by:
msheppard74 earned 0 total points
ID: 24375118
I rebuilt the server and that took care of the problem.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSO via Webmail site, Exchange 2010. 1 31
Redirect rewrite back to same address 3 58
Determine Server Specs for IIS.7 Website 4 33
Link SQL table to Webpage 9 51
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

943 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

10 Experts available now in Live!

Get 1:1 Help Now