I seem to have become more stable over time - probably because I reboot the servers once a week now over the weekend.
I have one lingering issue that's driving me nuts. Intermittently, my REST responsiveness will drop dramatically. Looks like about every 10 minutes, and only for a couple of seconds. But, and request made during that time hangs real bad. I have a script that pings my web adapter, 6080 on the server, and a web adapter on the server. Generally speaking, they all experience the slowdown at the same time - so I dont think its a web adapter specific issue, but something at the AGS root level. Check out the perfectly acceptable response times, then Boom!
"Information","ajp-bio-8014-exec-2","02/19/15","13:38:15",,"119 ms"
"Information","ajp-bio-8014-exec-2","02/19/15","13:38:30",,"116 ms"
"Information","ajp-bio-8014-exec-3","02/19/15","13:38:45",,"119 ms"
"Information","ajp-bio-8014-exec-2","02/19/15","13:39:13",,"13462 ms"
"Information","ajp-bio-8014-exec-3","02/19/15","13:39:17",,"2984 ms"
"Information","ajp-bio-8014-exec-3","02/19/15","13:39:30",,"184 ms"
"Information","ajp-bio-8014-exec-2","02/19/15","13:39:45",,"102 ms"
"Information","ajp-bio-8014-exec-2","02/19/15","13:40:00",,"95 ms"
I believe I have ruled out network issues. Done lots and lots of ping and connectivity tests. Everything seems to check out there. Its just like the box 'chokes' every ten minutes for a couple secs. Nothing in the logs that correspond with these 'choke' times that I can see. I thought maybe Disk IO on the data store, but that seems to be fine as well. Im at a loss.
Priscilla,
See the maxStartupTime property of a service. You can set this value through the ArcGIS REST API.
"Also found that setting the service start-up timeout to a higher value (currently 15 minutes is working) seems to ensure the services start-up. "
Hello Andrew. Can you tell me where this setting is? Are you referring to The maximum time a client will wait to get a service?
I'll add that I too have these issues and concerns. Our 10.0 ArcGIS Server was running with about 500 services. Then our transition to 10.2.2 began to get unstable with around ~200 services.
I found that setting the service recycle time to a random value so that all the services will not restart at the same time (00:00) helps. Also found that setting the service start-up timeout to a higher value (currently 15 minutes is working) seems to ensure the services start-up. Otherwise some will timeout, fail to start, and then my guess is the config-store gets confused, and managing these particular services sometimes fails.
Here is an example of the full error information:<Msg time="2013-05-22T15:21:39,778" type="SEVERE" code="9003" source="Rest" process="3308" thread="22" methodName="" machine="TERAARCSERV1.TERA1.COM" user="" elapsed="">Unable to process request. Error handling service request : Unknown Container Exception: org.apache.openejb.client.RemoteFailoverException: Cannot complete request. Retry attempted on 1 servers; nested exception is: java.io.IOException: Cannot deternmine server protocol version: Received null/0.0</Msg>If you look at the source field, is it either Rest or Server. I think that there is a single Rest process (on each GIS Server) whose job it is to handle the incoming requests and handle them. The Server process is an instance of ArcSOC which is the process which does the actual work, e.g. map service, and there many of these.The above error comes from Rest. I'm not a Java programmer but my guess is that the program is trying to communicate with another machine using Java and there is some type of mismatch between the machines. If you Google on that error then it seems to say that perhaps there is a software version mismatch.I do believe that the REST process can and does try to communicate with other nodes (i.e. GIS Servers) in the site. I am guessing that there is some type of problem here. I noticed that all the logs are about TERAARCSERV1. Where are the logs/entries for the other machine in the site? Your diagram indicates that you have 2 machines in the default cluster. I am wondering if there is some type of capability and/configuration problem here. Do the machines have the exact same version of ArgGIS Server installed? It could also be firewall/security configuration related. Are all the required ports open?http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000537000000
Good to hear! I really hope that this resolves the instability problems that you are seeing. Please report your findings so that everyone can benefit from them.Did your server logs, as seen in ArcGIS Server Manager, have any errors in them? In particular, I am wondering about out of memory/heap type errors.
When ArcGIS Server crashes the system generates a crash dump file.I believe that the dumps are placed in the config-store. On my machine there are here:C:\arcgisserver\logs\MachineName\errorreportsHere is example of one from my system:ParcelEditing_MapServer_3664_0.dmpCrash dump files can provide insights into what the underlying problem is. ESRI has the best chance of reading these because they have the source code. If you post yours then I'll look at them and see if I see anything. Post them to one of the cloud storage providers and post a link here.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.