[mapguide-users] Changing custom PoolSize for GDAL has no effect

Trevor Wekel trevor_wekel at otxsystems.com
Wed Apr 13 05:39:07 EDT 2011


Hello Gunter,

It is a hard-coded workaround for thread-stability issues which exist between MapGuide and the FDO GDAL Provider.  I have performed some work on GDAL stability in MapGuide http://www.otxsystems.com/community-initiatives/gdal-provider-initiative.html and would be more than willing to address multi-threaded stability if funding was available.

Based on past experience with the Autodesk Raster Provider, multi-threaded stability of raster within MapGuide is not a trivial undertaking.  Please contact me offline if you are interested in funding a thread stability/performance improvement project.

The repository error

Error: An exception occurred in DB XML component.
        Please try your operation later as the repository was busy.

Does not impact raster.  Resource repository tuning can help reduce these errors.

There are other core stability defects in MapGuide 2.2 RC1 which have been addressed in the RC4 build.  The crashes you are seeing could be related to these defects.  Also, the official 2.2 release build is forthcoming.

Regards, 
Trevor


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Gunter Becker
Sent: April 13, 2011 3:23 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Changing custom PoolSize for GDAL has no effect

Hi, 

when changing the DataConnectionPoolSizeCustom entry for the GDAL Provider
in serverconfig.ini it seems that this
setting has no effect. Even if I delete the entry from the
DataConnectionPoolSizeCustom it is the same. I checked the feature source
cache through the WebAPI (GETFDOCACHEINFO). It always shows me just 1
connection to the GDAL-Provider:


    OSGeo.Gdal
    1
    1

I know about the problems with the GDAL Provider when increasing the pool
size but I want to test this setting because of a bunch of raster
FeatureSources (approx. 35 and some more in the future) and a heavy(?) user
load of 50 concurrent users (also more in the future). It seems that this
leads up to five crashes of the MapGuide Server per day:

Error: An exception occurred in DB XML component.
        Please try your operation later as the repository was busy.

All rasterfiles were optimized (eg. overviews etc.) through the gdal tools!
We are using MapGuide 2.2 RC1 (2.2.0.5197) on Windows Server 2008 R2, 16 GB
RAM

Is the single DataConnection to the GDAL Provider a defect or does the
setting in serverconfig.ini just reflects a hard-coded workaround for the
issues of the GDAL Provider?

Thanks, Gunter


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Changing-custom-PoolSize-for-GDAL-has-no-effect-tp6268276p6268276.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list