<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-CA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Haris,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Yes. A significant portion of the Server connection management
logic was rewritten for MGOS 2.1. However, since Autodesk has no vested
interest in the GDAL Provider (they didn’t write it) it might make more
sense to have someone from the community look at it. I have dug around in that
code before and I assume you have as well.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I would be concerned about making significant changes to the
Server connection management logic. Any significant change could impact
stability with all other Fdo Providers. Hopefully we are just looking at simple
bug fixes or low impact changes. It would be very time consuming to set up a
test environment for all of the open source providers. And personally I would
not check in major code changes to a key area like this without some fairly
serious testing, especially if we want to do it on the released 2.1 branch.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I also believe there are three areas where instability can creep
in: GDAL Provider code, Server code, and Server use cases against the GDAL Provider.
It might be wise to qualify the statement “basically completely thread
safe” with “for specific use cases”. I am not sure that complete
thread safety is a guarantee without 100% code coverage. One liners can be a killer
for multi-threaded apps.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>In any case, the MapGuide Server code base and the GDAL code
base have to be analysed together to see what the interaction behaviour is. I
guess we should move this discussion to the –internals list so the PSC
and the developers can decide who should take a crack at the initial
investigation, and whether any funding is available to support the investigation.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Trevor<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Haris
Kurtagic<br>
<b>Sent:</b> December 28, 2009 10:55 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] [MGOS 2.1]few map with Ecw, need restart
mapguide service<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>In 2.0 release I fixed MG connection problems which caused
MG to crash mostly on GDAL provider. <o:p></o:p></p>
<div>
<p class=MsoNormal>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.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>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.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>GDAL provider is basically compeletly thread safe (many
locks there).<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>So, my first feeling is that it is more probably MG problem
then GDAL provider problem, again.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>Haris<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div>
<p class=MsoNormal>On Mon, Dec 28, 2009 at 6:28 AM, Andy Morsell <<a
href="mailto:amorsell@spatialgis.com">amorsell@spatialgis.com</a>> wrote:<o:p></o:p></p>
<p class=MsoNormal>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>
<span style='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></span><o:p></o:p></p>
<div>
<p class=MsoNormal><br>
-----Original Message-----<br>
From: <a href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>[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<o:p></o:p></p>
</div>
<div>
<div>
<p class=MsoNormal>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%0d%0a-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><o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</body>
</html>