Solved

Web Server takes long time to respond on first request

Posted on 2009-05-03
6
1,107 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:msheppard74
Comment Utility
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
Comment Utility
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
Comment Utility
I rebuilt the server and that took care of the problem.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
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.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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