Solved

IIS Lag Time

Posted on 2011-09-12
5
527 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Used my own solution to the issue
0

Featured Post

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.

Join & Write a Comment

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

763 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

16 Experts available now in Live!

Get 1:1 Help Now