Hello everyone,
I have a MapServer Architecture (Infrastructure Map Server 2013) composed by 2 WebServer and 3 MapServer.
Sometimes one of the MapServer “mgsprocess2013.exe”increases the use of CPU to 100% implying the crush of one or more MapServer. The only way to solve this is to stop the services (Infrastructure Map Server 2013) on all the MapServer, but sometimes is necessary kill the process and start again the services.
Analyzing the log I found this frequent errors:
<2016-09-26T09:05:09> 2936 Fusion Viewer 10.16.20.250 Anonymous
Error: Failed to stylize layer: SIC_SIFSicilia_AreePercorseFuoco2012
An exception occurred in FDO component.
The HTTP server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.
<2016-09-23T09:33:03> 2592 Fusion Viewer 10.16.20.250
Error: Failed to stylize layer: TronchiSuccessivi
Repository was not found: d65df25a-815b-11e6-8000-0d095e740000_en_MTAuMTUxLjEzOC41OQ0AF20AF10AF0
<2016-09-23T09:23:38> 2940 Fusion Viewer 10.16.20.250 Anonymous
Error: Failed to stylize layer: DF70
The coordinate system initialization failed.
Could not initialize the geodetic transformation.
<2016-09-23T09:33:03> 2932 Fusion Viewer 10.16.20.250
Error: Failed to stylize layer: ExtentLavoro - Session has expired or is invalid. Please log in again.
<2016-09-26T09:06:43> 900 Fusion Viewer 10.16.20.250 Administrator
Error: Failed to stylize layer: Territorio
Problem:\nCannot establish connection to the Infrastructure Map Server.\n\nPossible Causes:\n-Your session has been idle for too long;\n-Infrastructure Map Server is no longer responding;\n-Internet connection problems.\n\nSolution:\nRestart your application / session, restart the Infrastructure Map Server service, or contact with the server administrator.
<2016-09-26T10:20:16> 2940 Fusion Viewer 10.16.20.250 Anonymous
Error: Failed to stylize layer: ABR_SitoTutelato
An exception occurred in FDO component.
The HTTP request URI was not found by the server
2016-09-23T18:24:54> 2480 Fusion Viewer 10.16.20.250 Anonymous
Error: Failed to stylize layer: D000
An exception occurred in FDO component.
An exception occurred in FDO component.
ORA-13226: interface not supported without a spatial index
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 8
ORA-06512: at "MDSYS.SDO_3GL", line 1248
ORA-06512: at "MDSYS.SDO_3GL", line 1393
Hi Michela,
whether these error messages are related to the issue or not is not clear.
First of all - analyse all frequent error messages and try to resolve the underlying causes
Second - look at the log file when the issue occurs - does a specific error message occur every time CPU goes up to 100%?
Questions
- is it always the same MapServer which crashes or do they all three crash?
* if all three crash
* are the symptoms always the same?
* do they serve the same data?
* why do you have three MapServers? How is your whole setup?
- if only one crashes
* anything specific with that one?
I dont think that any of the error messages gives away the root cause. Further research is required. If you see frequent error messages than deal with them and see if the main problem gets solved as well.
Rob
Thanks for the answer.
We are now monitoring the logs in order to locate possible common issue when CPU goes up to 100%.
About your questions:
No it’s not the same, maybe be only one or all of them. Even if it’s only one the other two present problem, for example is not possible restart the service.
Yes the symptoms are the same, when one of the MapServer have this problem it’s impossible use the cartographic services online until I restart the service on all the Servers.
We have three MapServers in order to handle multiple connections and have better performance, but all of them contains the same data.