ArcGIS Server Tips and Tricks

Download Report

Transcript ArcGIS Server Tips and Tricks

Esri International User Conference | San Diego, CA
Demo Theater | Wednesday, July 13 2011
Tips & Tricks for Troubleshooting
ArcGIS Server 10 Issues
Subrat Bora
Andrew Stauffer
ArcGIS Server 10 : Tips and Tricks
•
Map Services are sleeping or show a blank map sometimes
•
Microsoft IIS Web Server crashes under a heavy load
•
Internet Connections to ArcGIS Server do not work
•
Link to SOAP from Services Directory does not work
•
Cannot create Replicas with large amounts of data
•
Map Service locks SDE Geodatabase
•
Layers from a SDE direct connect are not displayed
•
Cache tiles are not generated for some scales and extents
•
ArcGIS Server Java does not handle large requests
•
Contacting Support
Map Services are sleeping or show a blank map sometimes
• Symptom
First request in the morning is blank
Service is slow or blank map after sitting idle
Check firewall settings
• Solution
Enable Map Service ‘Ping’
Decrease Service Recycle Interval
Map Services are sleeping or show a blank map sometimes
• Enable
in ArcGIS Server Manager
Map Services are sleeping or show a blank map sometimes
• Enable
in ArcCatalog
Microsoft IIS Web Server crashes under a heavy load
• Symptom
GIS Services work fine most of the time
Peak hours or heavy use causes IIS to crash
Very high memory utilization lsass.exe process
• Solution
Set identity for ArcGISServicesAppPool
Change impersonation
Windows Server 2008: KB 37566
Windows Server 2003: KB 32620
Internet Connections to GIS Server do not work
• Symptom
ArcGIS Web Services Account
- Disabled in Windows
- Log on as Batch Job
- Password change
• Solution
Re-run Post Install
Link to SOAP from Services Directory does not work
• Symptom
•
layer file download
•
Export map preview
•
SOAP link (WSDL
• Cause
•
SOAP is not using a fully qualified URL
View in ArcMap Link opens a blank map
Detect using fiddler
• Solution
Cannot create Replicas with large amounts of data
• Symptom
Small areas work
Virtual Directories are valid
Max Record Count is set high
• Solution
Edit Services web.config
- Increase executionTimeout
- Increase maxRequestLength
Cannot create Replicas with large amounts of data
http://resources.arcgis.com/content/kbase
?fa=articleShow&d=35971
Map Service locks SDE Geodatabase
• Symptom
SDE Administration fails due to schema locks
Cannot add or remove any columns to table
• Solution
Edit the Map Service .cfg file:
<SchemaLockingEnabled>false</SchemaLockingEnabled>
Layers from a SDE direct connect are not displayed
• Symptom
•
Added FCs from Oracle Enterprise Geodatabase using
direct connect. These layers not showing up in the
map service or application
•
The layers are displayed just fine in ArcGIS Desktop
•
Error in Server Logs: server library could not be loaded,
network I/O error, etc.
Solution:
Oracle client configuration with administrator option
Try SQL*Plus before proceeding
Check ORACLE_HOME and PATH environment
variables. %ORACLE_HOME%\bin must be added to
PATH
Layers from a SDE direct connect are not displayed
Solution:
For Linux:
Additional Environment variables in ArcSoc.init before
exec $* statement
SDEHOME=<arcgis directory>;export SDEHOME
ORACLE_HOME=<oracle client directory location>;export ORACLE_HOME
PATH="$PATH:$SDEHOME/bin:$ORACLE_HOME/bin";export PATH
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SDEHOME/bin:$ORACLE_HOME/l
ib";export LD_LIBRARY_PA
TNS_ADMIN=/dir1/oracli/app/oracle/product/10.2.0/network/admin;export
TNS_ADMIN
Cache tiles are not generated for some scales and extents
• Symptom
Message at the end of the caching job
Missing Tiles
Cache tiles are not generated for some scales and extents
Cause
•
Improved error reporting in 10.0
“Failed to manage tiles for the extent (1637201.673300, 9208620.018344, 2712470.490504,
10283888.835548) at level 1”
•
Slow Network, Broken SDE connection, Drawing
performance of the map
Solution
•
Analyze your map document- mxdperfstat Tool
http://resources.arcgis.com/gallery/file/enterprise-gis/details?entryID=6391E988-1422-241888DE-3E052E78213C
•
Convert map cache-building log failures to
footprint polygons and recreate tiles for these
polygons only
http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=5E1F2FE3-1422-241888F7-285291B8031D
ArcGIS Server Java does not handle large requests
• Symptom
Smaller services work without problems
Larger queries fail
Performance of services is slowing
• Solution
Increase JVM Options from Manager
ArcGIS Server Java does not handle large requests
• Settings
-Xms256m -Xmx512m -XX:MaxPermSize=512m
Additional Tips and Tricks
•
Define URL when creating an Admin connection
•
Use Replica for Web Mercator Services
•
Service Configuration files
•
Services into folders
•
Application state unchecked for Web Applications
•
Right-click ArcMap and choose ‘Run As…’
•
Enterprise GIS Resource Center
Contacting Esri Support
Include the following (if possible) to help us
diagnose the problem faster:
-
Version and Service Pack information of all Esri
Software
-
Operating System of the machines
-
Screenshots of error messages
-
Windows event viewer logs, if error/warning exists
-
ArcGIS Server Verbose logs collected after
reproducing the issue
-
Brief description of the steps to reproduce
Questions?