[mapguide-trac] #480: Crash with MgInvalidStreamHeaderException with GETTILEIMAGE (load test)

MapGuide Open Source trac_mapguide at osgeo.org
Tue Mar 4 09:10:40 EST 2008


#480: Crash with MgInvalidStreamHeaderException with GETTILEIMAGE (load test)
----------------------------+-----------------------------------------------
   Reporter:  zspitzer      |       Owner:       
       Type:  defect        |      Status:  new  
   Priority:  medium        |   Milestone:       
  Component:  Tile Service  |     Version:  2.0.0
   Severity:  major         |    Keywords:       
External_id:                |  
----------------------------+-----------------------------------------------
 I have been doing some simple load testing with 2.0.0 and jmeter
 (http://jakarta.apache.org/jmeter/index.html)

 The test involves simply calling tiles from the Sheboygan sample, (about
 382k of PNG8 tiles.) The server name and port can be configured in the
 attached jmeter test plan, under the 'HTTP Request Defaults' section.

 The load is 50 users making requests every 100ms+a random 50ms deviation,
 ramping in over 10 seconds

 The server will crash with a 559 response code and
 MgInvalidStreamHeaderException, which isn't logged to any log files or
 when the service is run interactively with CPL_DEBEUG=on. The service will
 then need to be restarted. Occasionally i have seen it crash with a
 MgConnectionFailedException

 On my laptop i can achieve a bit over 200 requests per second and
 throughput of about 950Kb/s

 The crash is repeatable but the frequency varies, sometimes after 1,500
 requests, once after 36,000. Slowing down the request frequency only made
 the test run longer, so far it has always crashed on me.

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


More information about the mapguide-trac mailing list