Not to bring this back from the dead but- howdy Shaun!! Long time no see . This is a shot in the dark but why not:
1) Did you guys ever figure out what was causing the CPU spike on the AGS for some SOC processes?
2) If so, do you recall what the issue or culprit was?
We have just recently started seeing much higher than "normal" CPU utilization from 2-3 SOC processes (intermittent but reproducible with light service use) that just started in the last week. It's bringing our prod server to a near stand still and 100% utilization when there are several users hitting our apps from the services. Also nothing in the logs that jump out. Any help or ideas would be greatly appreciated- hope all is well in Lynchburg!
-Rex
What kind of services are you running that you see this issue with? Composite Geocoders can cause a larger load due to the nested data access.
Also various Geoprocessing tools can cause a spike after various OS patches to address security exploits from earlier this year.
Also consider taking a look at your Anti-Virus software; some configurations can see each time a service or its data is accessed that a AV scan of the data/files will be triggered which can cause the service to spin in a waiting-to-load state.
Thanks for the reply David. We are seeing these delays / CPU utilization issues from standard map services that are referenced in a series of 10.3.1 Portal web applications. What is strange is that this was never an issue before a few weeks ago (checked and no Windows updates have been applied / nor Esri), and I cannot reproduce this behavior on our dev tier which mimics our prod tier. In the dev tier (and previously in prod) I can get CPU to spike to ~30% with some panning around (especially high multi-family areas where parcel drawing is more resource intensive) but never much more than that. The same app, same zoom extend and area panning now in prod will spike to 80-90% CPU and stay there for a little while after the draw is complete.
The only things that are different between prod and dev is:
Good suggestion on the antivirus as well- I'll have my IT folks confirm that nothing new has been setup or that nothing is regularly running or scanning the directories AGS needs to access for SOC operation.
Any other ideas or thoughts are welcome. Thanks all!
Hey Rex!
Hope all is going well. It's been a while, so I don't remember exactly what we did to resolve this, if anything. To be honest, we may have just stuck it out until an AGS upgrade, but our issue was of course on development which allowed us that flexibility. There were are few issues we had going on around this time, so here are some things we did around that time to resolve issues ... maybe one of them will be useful?
- Created a new, identical map service and used that in place of the one with the issue
- Restarted AGS and then the server itself (I know this is an obvious one, but it's amazing how many times it has resolved our issues.)
- Republished the service, removing one layer at a time, to determine if one layer was the culprit or if it was an issue with the service/AGS.
- Republished the service pointing to a copy of the data. Copy of the data wasn't a copy/paste or import, but a clean feature class, import schema, then append.
Also I'll double down on David's suggestion of Anti-Virus software. I know that was a major issue for us at one time in a previous AGS release. Simple rule change cleared it all out.
Sorry I couldn't be of more help!
Shaun
Thanks again Shaun and David for the replies and help! I have a few updates to pass along just in case anyone suffers this CPU behavior going forward. It looks like there are a myriad of issues causing our problems for our production server. The steps we have taken and the issues that have been identified:
Hope this helps guys- if we figure out anything else I'll update this. Thanks again for the info and assistance!
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.