Solved

IIS Lag Time

Posted on 2011-09-12
5
535 Views
Last Modified: 2012-05-12
We're running into a problem with one of our applications running on IIS on Server 2008.  When the first user hit the application website for the first time in th emorning there is a delay of about  1.5 minutes before loading.  After this ther eis no problems unless there is no activity for 30 minutes or so.  The vendor has been less than helpfull on what the issue might be.  My only thought is some settign in IIS is causign this.  Any thoughts on what would cause this?
0
Comment
Question by:georgedschneider
  • 3
  • 2
5 Comments
 
LVL 18

Expert Comment

by:ivan_vagunin
ID: 36524745
Hi! It looks like some session cache problem - do you have any code that caches something to session state? Is lag on every page or on specific pages only?
0
 

Author Comment

by:georgedschneider
ID: 36531899
Just the first page.  It was mentioned ot try to write a script that hits the webpage every so often to prevent this form happening.
0
 
LVL 18

Expert Comment

by:ivan_vagunin
ID: 36541033
As I said it is mostly like a code problem to me (not IIS), so I would advise to debug the code of the page you have problems with.
0
 

Accepted Solution

by:
georgedschneider earned 0 total points
ID: 36600984
Since I'm not the developer of the application and they keep saying it has to do with the application pool settings in IIS I wront the following vbscript that runs every 15 minutes to hit the webpage to resolve the issue.
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Visible = True
objIE.Navigate "http://localhost/virtualdirectory"
WScript.Sleep 30000
objIE.Quit

Open in new window

0
 

Author Closing Comment

by:georgedschneider
ID: 36895878
Used my own solution to the issue
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

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…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

828 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