[mapguide-internals] FW: [mapguide-users] MapGuide runs out of FDO
connections under Fusion MGOS 2.1 Beta
Jason.Birch at nanaimo.ca
Mon Jul 20 04:38:38 EDT 2009
Does the below sound familiar to anyone? Seems as if something isn't getting closed/dereferenced properly.
I remember a discussion about the old MgMap->Open() causing problems, but I can't find the ticket...
Sent: Saturday, July 18, 2009 6:09 PM
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] MapGuide runs out of FDO connections under Fusion MGOS 2.1 Beta
I've been stepping through code and think I have isolated the problem. At
this point I'm assuming that both of my issues (layers becoming permenantly
busy and running out of FDO connections) are related.
The issues occur after use of setSelection, which uses both
SaveSelection.php and GetSelectionProperties.php. Both of these create a
feature service then call GetExtents. Here's a sample from
$oExtents = $selection->GetExtents($featureService);
Creation of $featureService doesn't seem cause a problem, but as soon as
$oExtents is created the layer becomes busy and stays busy until the
MapGuide server is restarted.
Can anyone suggest where to go from here? Perhaps the feature service needs
to be closed/destroyed somehow after use?
My undying gratitude to whoever can help me with this show-stopper,
More information about the mapguide-internals