Hello,
I have a strange one. Maybe someone has dealt with this in the past.
One of my larger layers (a few hundred thousand points) is causing issues all of a sudden.
Before opening web app:
After opening web app (the layer also doesn't work properly in the web app - it just does this while the web app is open):
Again, everything was fine a few days ago. This is very abnormal behaviour. Typically, using the web apps wouldn't even register on the server.
Solved! Go to Solution.
Over this last weekend, I rebuilt the webmap. I have since been monitoring server load, and things seem to be working again... In the end, I didn't change any settings. This was really strange.
This same layer was badly corrupt earlier in the year due to an ODBC connection issue. It took several days to repair the connection and re-publish the layer. After that republish, I noticed the layer appeared a little different than it did originally. But since everything was working again, and we had quite the backlog, we decided to leave well-enough alone. Maybe one of our routine layer operations just finally pushed it over the edge?
Hello abureaux
Have you tried changing the max_connections in /opt/arcgis/datastore/usr/arcgisdatastore/pgdata/postgresql.conf to a higher number. I think the automatic setting is around 300.
You can then use the ‘changedbproperties.sh’ to see the change reflected in the postgresql.conf.
However, based on what you are showing here, it might be a "javaHeapSize" issue, which can be modified using the Edit Service operation in the ArcGIS Server Administrator Director.
Good luck.
Esri advises against configuring the postgres data store or internal files for the ArcGIS Data Store. If something went wrong technical support might not help you.
Abureaux also appears to be looking at referenced services not the ArcGIS Data Store, as you don't have control over the service pooling for hosted feature services.
This is a tricky one to troubleshoot without exploring your environment.
You can likely rule out some general optimization issues if the issue was not occurring previously, and a few hundred thousand points is not a lot. I'd recommend testing the service in a simpler environment to help remove components i.e. query REST API over opening in Map Viewer.]
Some things you could take a look at:
Had a similar experience, it ended up being the spatial index. Once I ran a reindex everything went back to normal.
Over this last weekend, I rebuilt the webmap. I have since been monitoring server load, and things seem to be working again... In the end, I didn't change any settings. This was really strange.
This same layer was badly corrupt earlier in the year due to an ODBC connection issue. It took several days to repair the connection and re-publish the layer. After that republish, I noticed the layer appeared a little different than it did originally. But since everything was working again, and we had quite the backlog, we decided to leave well-enough alone. Maybe one of our routine layer operations just finally pushed it over the edge?
I used to use 2 max 0 min till someone complained. Now I use shared instances till someone complains.
Shared instances have significantly lightened the load on the server plus I’m rarely managing arcsocs now.
There are a lot of variables to consider here. I just switched everything to shared and studied the logs. Services with frequent requests were switched back to dedicated with 2-0 and adjusted as needed.
@k1etus wrote:I used to use 2 max 0 min till someone complained. Now I use shared instances till someone complains.
Shared instances have significantly lightened the load on the server plus I’m rarely managing arcsocs now.
There are a lot of variables to consider here. I just switched everything to shared and studied the logs. Services with frequent requests were switched back to dedicated with 2-0 and adjusted as needed. https://omegle.onl/
I got this,...