ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 20th, 2010, 04:48 AM
UserX UserX is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Posts: 2 UserX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 34 sec
Reputation Power: 0
Classic ASP sites in IIS7 takes 2 minutes for first load!

HELP! I have a windows 2008 R2 server with IIS7. I have over 120 websites. All websites were working smooth till now but 2 days ago i faced a serious issue with loading times.

i have 35 websites written in Classic ASP. 25 of them have VERY slow loading times!! It takes about 2 minutes for the first load only. Then they run fast. I do not know what happened! I did not do anything to webserver and i did not install any update these days.

Suddenly i received complaints by my customers. The strange thing is that it happens ONLY to 20 websites and all other runs ok (asp.net sites, php sites, plain html sites and some classic asp sites).

What i have tried so far:
- restart webserver several times
- restart services several times (iis worker, iis service, application pools, sql server, dns server)
- restart a single (problematic) website on IIS

I even tried to write a single .asp file with less programming on to it and place it to root of a problematic site. It took 2 minutes to run an asp file with no code at all!!

I think that it has to do with application pool gets stuck for some reason on loading some asp sites, but i cannot find the reason!

Event viewer reports nothing suspicious!

PLEASE HELP!!!

Reply With Quote
  #2  
Old November 20th, 2010, 01:11 PM
Satellite55 Satellite55 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Posts: 15 Satellite55 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 33 m 30 sec
Reputation Power: 0
if some sites are working ok then there must other factors coming into play, but this is beyond ASP.

you might try posting to a group specializing in IIS

Microsoft has one here:

forums. iis. net

Reply With Quote
  #3  
Old November 20th, 2010, 02:35 PM
UserX UserX is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Posts: 2 UserX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 34 sec
Reputation Power: 0
Hello,

I have already posted there...

Reply With Quote
  #4  
Old November 20th, 2010, 04:01 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,237 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 14 h 43 m 55 sec
Reputation Power: 4445
My first guess is to look for something that's changed in DNS resolving from the web server. Next I'd look for some hardcoded IP or URL in the asp code somewhere.

Review what updates or changes were done to the server or network between when the sites were working correctly and now. Was any hardware or software updated or replaced on the server?

Beyond that you'll need to do some debugging in the asp code itself to see if you can identify what code is causing the slowdown.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #5  
Old August 27th, 2011, 07:15 AM
walkinwillie walkinwillie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 1 walkinwillie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 30 sec
Reputation Power: 0
Facebook
Thumbs up

I had the same problem and the solution for me was to uninstall IE9 on my Windows 2008 box. There is a thread on the IIS forum that discusses this but as a newbie, I cannot post a link (kind of silly...haven't run into THAT before) - well, here is a pulled apart link...

forums. iis. net /p / 1172421 / 1959348 . aspx - just get rid of the spaces and you are good to go. Hope this helps!

Reply With Quote
  #6  
Old August 27th, 2011, 09:50 AM
dotnetmind dotnetmind is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 46 dotnetmind User rank is Corporal (100 - 500 Reputation Level)dotnetmind User rank is Corporal (100 - 500 Reputation Level)dotnetmind User rank is Corporal (100 - 500 Reputation Level)dotnetmind User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 8 h 7 m 29 sec
Reputation Power: 3
Iis Vs Asp

Try the following:

1- Modify the "Idle Timeout" value within the application pool. By default it will shutdown the application if there are no requests for 20 minutes

2- If you are using ASP.NET 4.0 you can use the new Auto-Start behavior to keep the app "Always Running" you can see this blog post for examples on how to configure it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Classic ASP sites in IIS7 takes 2 minutes for first load!

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap