[Mapguide-trac] [mapguide-trac] #2596: Constant crashes under high load/many concurrent requests

MapGuide Open Source trac_mapguide at osgeo.org
Fri Jun 24 02:46:09 PDT 2016


#2596: Constant crashes under high load/many concurrent requests
------------------------------+---------------------
 Reporter:  andymorf          |        Owner:
     Type:  defect            |       Status:  new
 Priority:  high              |    Milestone:  3.1
Component:  Server            |      Version:  3.0.0
 Severity:  blocker           |   Resolution:
 Keywords:  crash, high load  |  External ID:
------------------------------+---------------------

Comment (by andymorf):

 The last few tests of mgserver (release) with attached debugger always
 crashed within geos::io::WKTReader.read() and I stumbled over
 http://stackoverflow.com/questions/4057319/is-setlocale-thread-safe-
 function which states the setLocale() function used in CLocalizer.cpp
 operates globally (per process) – and saving and restoring the locale via
 pointers seemed risky to me.

 So as a first attempt I commented out the line “CLocalizer clocale;” in
 WKTReader.read() and WKTWriter.writeFormatted() and rebuilt geos.dll.
 Astonishingly, my load tests cannot tear down mgserver so far…
 Maybe, leaving locale-handling just commented out is not the definitive
 solution

--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2596#comment:3>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list