07-26-2018 09:22 PM
Our customer has WebMap 16.5 installed. They have a couple of geospatial instances and one WMPS and one WFS-G.
And the WebMap configuration is
For some unknown reason, the number of map servers suddenly drops back to 1 occasionally
We haven't observed that behavior in our local environment. The client has some scripts which are scheduled to run daily. They mainly do are restarting webmap, clear the WMPS cache and warm up portal instances. So, we don't believe they could have something to do with the problem.
We look at the Administration Console service log and there are some exceptions in communication
In the meantime, I set up the WFC tracing function to monitor the problem. Appreciate all suggetions and ideas on debugging and fixing the problem.
Solved! Go to Solution.
07-26-2018 01:00 AM
The Map Server count is stored in registry:
HKLM\SOFTWARE\WOW6432Node\Intergraph\GeoMedia Web Map\16.5\MapServerManager
You might want to check the value there. The only thing modifying this value should be Administration Console Service. It should be be safe to stop this service temporarily for tests. It's not used for running the services but rather for their configuration.
Isn't the customer working somehow with registry in their scheduled scripts?
07-26-2018 02:00 PM
Thank for the information. I do check the registry and when the issue happens, it does show the value of 1. I check the Administration Console Service and there is no exception in the log file. We will try stopping the scripts and monitor whether it happens, if it does, we will stop the Administration Console Service and investigate more this service.
07-27-2018 12:56 AM - edited 07-27-2018 12:56 AM
Does it happen each time (overnight) or intermittently? You could run Procmon tool and watch this registry key using proper filters set. You should see what process and when modified this value.
08-03-2018 08:51 PM - edited 08-03-2018 09:42 PM
Some update on the issue. Firstly, I have to thank Jan for briliantly suggesting the use of proc-monitor. Clients have overnight scripts that clears cache folders and restarts WebMap. We found out that the scripts clears cache folders of WMPS, PortPublisherWebApplication and BackendWMPS templates.
It deletes the readme.txt in these cache folders, as the result of this, WebMap service assumes the WebMap installation is corruped and invokes silent reparing process. This reparing process resets the number of map servers back to 1, then restart the server.