Intermittent Slow Response From Geoprocessing Service

Discussion created by jds88 on Apr 24, 2012
Latest reply on May 15, 2012 by mstranovsky
We are trying to track down performance issues with a GP services being accessed through the REST environment on Server 2008, IIS 7.5, ArcGIS Server 10 SP 3. In our testing the using Fiddler and Chrome Developer Tools we have determined the request is received quickly through the network, but the server is slow to send the response back to the client. In watching the performance monitor we can see the CPU usage spike when the Python processing is being executed, and messages returned from the Geoprocessing service indicate the geoprocessing is happening at a consistent rate. When the performance is high the response is received within 3-4 seconds, when it's slow it can take upwards of 1-2 minutes for the same request. Performance can change over subsequent runs 1-2 seconds followed by a 1-2 minute run. When are running a json recordset as input to the gp service, and receiving a featureset back. All testing is currently being done within the web interface automatically created  server http://<task-url>/execute.

Using Appcmd on the server it has been noticed that the application is hanging in the ResolveRequestCache state.

Any help or suggestions on resolving this issue would be greatly appreciated.