Solved

Web Server takes long time to respond on first request

Posted on 2009-05-03
6
1,115 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

 

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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

717 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