[mapguide-trac] #1016: Change default Linux thread stack size

MapGuide Open Source trac_mapguide at osgeo.org
Mon Jun 15 11:39:03 EDT 2009


#1016: Change default Linux thread stack size
----------------------------+-----------------------------------------------
   Reporter:  brucedechant  |       Owner:       
       Type:  defect        |      Status:  new  
   Priority:  low           |   Milestone:  2.1  
  Component:  Server        |     Version:  2.0.2
   Severity:  minor         |    Keywords:       
External_id:                |  
----------------------------+-----------------------------------------------
 The default Linux stack size per thread is 10MB, where as, on Windows the
 default is 1MB. This causes the server on Linux to allocate an excessive
 amount of unneeded memory due to the # of threads created by the server.

 The mgserver.sh script needs to be modified to include the following:
 ulimit -s 1024

 The above command will set the default thread stack size to 1MB instead of
 the original 10MB. This can save the server on Linux over 500MB of memory.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1016>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list