Solved

Web Server takes long time to respond on first request

Posted on 2009-05-03
6
1,111 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Server 2003 Policy Preventing Updates 6 58
Hide http port number 5 63
slow IIS responses after Microsoft December 2016 patches 3 83
ticket bloat 3 70
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

696 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