I have Monitor 2024.0
It was working fine but one day it stopped give me information about services.
The Server host (memory and cpu) are fine and I can see them.
I can see the list of services (mainly gp services) but I get no info about how many times they been called or response time.
I can see all info in server manager. The monitor even getting the min/max instances info.
Running the observer manually or checking the log just say that the request fail.
I tried also to disconnect the server and register again but it does not help.
Any idea?
Have you looked in the postgres logs to see if you are getting the error of "ERROR: nextval: reached maximum value of sequence "metrics_id_seq" (2147483647)"?
Hi @ModyBuchbinder,
Can you please check if your ArcGIS Monitor license file expired? When it expires, Monitor continues to work but stops collecting data.
Hope this helps,
Hi all
I will check both suggestions next time I am in client site.
Please remember that CPU, memory and disk space statistics continue to be monitored without any problem
Thanks
Hi all
The license is permanent. The table of data have 21m records and more records (host information but not services information) are keep coming.
I will try to upgrade to 2025.0 next week
There are some news.
Upgrade to 2025 did not solved the problem.
Then we found this: https://community.esri.com/t5/arcgis-monitor-questions/metrics-for-arcgis-server-not-displaying/td-p...
Checking the statistics dir found 2600 files with total size of 3.6Gb.
After I understood that the monitor way to get the number of requests and response time is similar to the way in server manager where you open the Logs->statistics I made some tested there too.
Any operation on server manager statistics took about 2 minutes (open a report, turn on one service etc.)
So then I dropped all the files before 1/1/2025.
It left about 900 files with 3Gb volume.
Now the server manager report open in about 20 seconds and the monitor return to give the info.
The unusual thing about our machine is that it mainly run GP services.
We only have 4-5 map services but about 70 gp services.
About 20 of them is build in (System and Utilities libraries).
Out of the other 50, I just stopped (but not deleted) about 20 so I left with 30 running gp services.
Can somebody explain what these files are for? It looks like they have info about each run of each gp service.
What do I loose if I drop anything but the last 3 months and why are they do not get deleted automatically?
Hi @ModyBuchbinder,
Apologies for the late reply.
> Can somebody explain what these files are for?
I'm not clear, are you asking about the .dat files in the statistics folder for ArcGIS Server, or something else?
Hi Derek
There are some dat-i and dat.u files there. If you open them in notepad you can see some information on the services action (not sure what it say but the service name is there..
I checked a few systems, there are thousands of them for each system I checked. It does not looks like there is any process that delete them, I saw some files from 3 years ago.
The total size is changing from less then 1 Gb to 8-9 Gb.
Deleting some old files have big affect on how the server manager statistics response and it looks like on monitor too.
I am not sure if it is the number of files or the size.
Even if there is no monitor it does not make sense that this directory just keeping bigger and bigger for serve.
Thanks
Hi @ModyBuchbinder,
Apologies for the late follow up.
I'm not sure about the files you mention in ArcGIS Server. Can you please send me an email and we can discuss this item in more detail?
Best,