In 2.0 release I fixed MG connection problems which caused MG to crash mostly on GDAL provider. <div>We had discussion in PSC and somebody (ADSK ?) took different approach to implement changes in 2.1. It would be fine that the one who implemented that changes perhaps look again.</div>
<div><br></div><div>From what I read here it seems it is very similar problem as before and it was not GDAL provider problem but MG connection manager. It is just that under GDAL provider those problems came out most obviously.</div>
<div>GDAL provider is basically compeletly thread safe (many locks there).</div><div><br></div><div>So, my first feeling is that it is more probably MG problem then GDAL provider problem, again.</div><div><br></div><div>Haris</div>
<div><br><br><div class="gmail_quote">On Mon, Dec 28, 2009 at 6:28 AM, Andy Morsell <span dir="ltr"><<a href="mailto:amorsell@spatialgis.com">amorsell@spatialgis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Trevor,<br>
What would it require, in terms of funding, to have you spend enough time<br>
examining the provider and problems to come up with an approach and labor<br>
estimate to improve it? Maybe we can collectively raise enough money from<br>
contributors to fund the functional specifications determination and then<br>
see if we can fund the full project after.<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Andy Morsell, P.E.<br>
Spatial Integrators, Inc.<br>
47° 46' N 116° 49' W<br>
<a href="http://www.SpatialGIS.com" target="_blank">www.SpatialGIS.com</a><br>
</font><div class="im"><br>
-----Original Message-----<br>
From: <a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a><br>
</div><div class="im">[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Trevor Wekel<br>
Sent: Sunday, December 27, 2009 9:15 PM<br>
To: MapGuide Users Mail List<br>
</div><div><div></div><div class="h5">Subject: RE: [mapguide-users] [MGOS 2.1]few map with Ecw, need restart<br>
mapguide service<br>
<br>
<br>
Just as a point of reference, I have been involved with MapGuide and raster<br>
since the MapGuide 6.x days. Stable multi-threaded performance is difficult<br>
to achieve due to the sheer number of third party libraries involved. From<br>
what I recall, Autodesk spent at least two developer months in the last<br>
release getting the Autodesk Raster Provider to the stable and relatively<br>
scalable state it is in currently.<br>
<br>
This is not an easy task. Each file format has to tested, analysed, and<br>
fixed separately because the underlying "codec" libraries are all different<br>
and come from different vendors. In other words, stability with TIFF data<br>
does not guarantee stability with ECW or MrSID. In some cases, the vendor<br>
libraries may not be 100% thread safe. MapGuide is a heavily multi-threaded<br>
application. If there is a thread safety problem, it is almost guaranteed<br>
that MapGuide will trip over it at some point.<br>
<br>
This makes testing and validation especially painful. I would consider a 24<br>
hour load test on a 4 core machine to be a bare minimum test run for<br>
stability. 8+ cores would be preferable.<br>
<br>
I personally like working on raster integration in MapGuide. However, I<br>
also have enough background to know that it can be a bit of a black hole as<br>
far as development resources go. Hopefully we as a community can raise<br>
enough funds through Project Sponsorship to pay a developer to bury his head<br>
in the raster provider for a couple of months.<br>
<br>
Thanks,<br>
Trevor<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a><br>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Jason Birch<br>
Sent: December 27, 2009 6:47 PM<br>
To: MapGuide Users Mail List<br>
Subject: Re: [mapguide-users] [MGOS 2.1]few map with Ecw, need restart<br>
mapguide service<br>
<br>
It has been pretty decent for me with tiled, overviewed GeoTiffs and<br>
connection cache disabled...<br>
<br>
Folks, this is a known problem, but unless someone steps up to fix it,<br>
it is unlikely to get resolved. ADSK has a proprietary raster<br>
provider, so don't have a vested interest in diagnosing and fixing<br>
this problem.<br>
<br>
As I see it, there are two options: wait and hope someone steps in and<br>
fixes it, or pay someone with the experience and ability (Trevor,<br>
Haris, maybe Frank, Kenneth, UV, maybe others) to do it.<br>
<br>
Raster in MGOS has been a pain point for at least two releases, so I<br>
wouldn't hold my breath on the first option...<br>
<br>
Jason<br>
<br>
On 2009-12-27, isca <<a href="mailto:mapguide2007@gmail.com">mapguide2007@gmail.com</a>> wrote:<br>
><br>
> It seems the GDAL provider still acts very unstable under MGOS 2.1. There<br>
> has<br>
> been logged a ticket for this. Refer to #1196 MapGuide unresponsive using<br>
> GDAL provider.<br>
><br>
><br>
> lunab54 wrote:<br>
>><br>
>> I make another experience<br>
>><br>
>> i get an old unused windows 2003 server and i installed MapGuide 2.1 with<br>
>> ecw support<br>
>><br>
>> miracle ! mapguide with gdal ecw layer run well like service (not debug<br>
>> mode)<br>
>><br>
>> so i copied the c:\program Files\osgeo\mapguide on the new 2003 server<br>
>> that not run with ecw layer<br>
>><br>
>> and it's always the same thing : Gdal turn around and the mapguide log<br>
>> said :<br>
>><br>
>> <2009-12-21T17:46:58> 4160 Ajax Viewer 127.0.0.1<br>
Administrator<br>
>> Error: Failed to stylize layer: LAYER_ECW_DEBUG<br>
>> Cannot create any more connections to the OSGeo.Gdal FDO<br>
provider.<br>
>> StackTrace:<br>
>> - MgMappingUtil.StylizeLayers() line 776 file<br>
>> c:\osgeo\mapguide_21\mgdev\server\src\services\mapping\MappingUtil.cpp<br>
<br>
>><br>
>> so now i think there is missing something on this system but what ?<br>
>><br>
>> help...<br>
>><br>
>><br>
><br>
> --<br>
> View this message in context:<br>
><br>
<a href="http://n2.nabble.com/MGOS-2-1-few-map-with-Ecw-need-restart-mapguide-service
-tp4177077p4221048.html" target="_blank">http://n2.nabble.com/MGOS-2-1-few-map-with-Ecw-need-restart-mapguide-service<br>
-tp4177077p4221048.html</a><br>
> Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> mapguide-users mailing list<br>
> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br>
<br>
<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br></div>