Opened 16 years ago
Closed 16 years ago
#834 closed defect (fixed)
MgResourceNotFoundException when multiple users hit server at same instant
Reported by: | trevorwekel | Owned by: | trevorwekel |
---|---|---|---|
Priority: | medium | Milestone: | 2.1 |
Component: | Resource Service | Version: | 2.0.1 |
Severity: | minor | Keywords: | repository busy resource not found |
Cc: | External ID: | 1188344, 1188344.01 |
Description
Multiples hits at the same instance trigger MgResourceNotFoundException. To recreate (Apache only):
- Download the samples file in : http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp> and install in MapGuide
- Download Java and the JMeter
- Create a JMeter script which loads a map and executes consecutive pans
- Ramp up 40 simultaneous users over a period of 10 seconds
The MapGuide server will throw numerous errors including MgDbXmlException, MgDbException, MgResourceNotFoundException, and MgResourceDataNotFoundException
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Status: | new → assigned |
---|
Submitted to trunk http://trac.osgeo.org/mapguide/changeset/3579
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Submitted to 2.0.x http://trac.osgeo.org/mapguide/changeset/3580
Note:
See TracTickets
for help on using tickets.
This defect is due to extremely heavy contention on BerkeleyDB/DBXML page locks within the session repository. Changing the page size for the session repository and increasing lock and transaction timeouts significantly reduces the error rate.