Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have published an ArcGIS service based on a MXD I have generated the cached tiles on a shared NAS. When I access the Map Service with the build in js admin viewer (http://SERVER/arcgis/rest/service/....)

The map display quickly but, every now and then no tiles are coming for maybe 5 seconds, and then they all come quickly.

Why could that be? Any tip / ideas welcome? How to diagnose the problem?

share|improve this question

On your web server, create a script that wakes your services up every 15 minutes or so. Below is an example of a vbs file that the Windows Task Manager runs every 15 minutes:

'declare web app variable, set variable to be an IE application  
Dim webApp  
Set webApp= CreateObject("InternetExplorer.Application")  

'set visibility of the web app, can be set to false to run in the background  
webApp.Visible = true  

'declare a counter variable as integer, set it to zero  
Dim counter  
counter = 0  

'declare array to hold names of different services  
'simply increase the array by +1 and add a new entry for every new service that gets published  

dim services(6)   

dim map(4)  

'the following loop uses the REST API and the array to step through each service page  

Do while counter < 4  

    For Each x in services      
      webApp.Navigate "http://gisweb/ArcGIS/rest/services/"& x  

    For Each y in map  
      webApp.Navigate "http://gisweb/ArcGIS/rest/services/"& y & "?f=jsapi"  

  counter = counter + 1  

Set webApp = nothing  
share|improve this answer

Assuming that you are using ArcGIS 10, try to clear your server cache here, if it makes problem.

and read this document Map caching tips and best practices with ArcGIS Server 10 here, if you have missed anything when making ceched map....


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.