[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 557
  • Last Modified:

IIS Lag Time

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
georgedschneider
Asked:
georgedschneider
  • 3
  • 2
1 Solution
 
ivan_vaguninCommented:
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
 
georgedschneiderAuthor Commented:
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
 
ivan_vaguninCommented:
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
 
georgedschneiderAuthor Commented:
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
 
georgedschneiderAuthor Commented:
Used my own solution to the issue
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now