<div>It would be useful to try to narrow down what is causing the server to become unresponsive.  A couple things might help diagnose this:</div><div><br></div><div>- Output of &quot;netstat -an&quot; on all the web and mapguide servers.</div>

<div><br></div><div>- Output of the GetFdoCacheInfo call on the MapGuide server.  Not sure if this would still be available on the web tier when the server is unresponsive though, or how you would access it otherwise.</div>

<div><br></div><div>- Any error messages from the MapGuide logs.</div><div><br></div><div>When the server fails, it just becomes unresponsive, right?  How long have you waited for it to time out?  Have you tried lowering timeouts for FDO cache and for server connections to see whether the service eventually comes back?  Or turning off FDO connection caching entirely as an experiment (performance will suck, but at least it could help pinpoint the problem).</div>

<div><br></div><div>In general, joins are still not very performant.  If possible, you&#39;d be better off reading the geometry and data from a view in the database if your database supports spatial types.</div><div><br>
</div>
<div>Jason</div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">On 26 August 2010 15:39, Devadoss, Bala (US) wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">







<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="color:#1F497D">Hi Dave,</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Sorry for being vague in the first place. I am still a rookie to the Mapguide Open Source world.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Please find the response below for your questions.  </span></p><div class="im">
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D">What configuration are you using? .NET, APACHE etc..</span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D"> </span></p>
</div><p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:black">We are using .NET with IIS7 on Windows 2008 Server 64 bit</span></p><div class="im">
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D"> </span><span style="font-size:12.0pt"></span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D">Are you using Basic or Flexible Web Layouts? What kind of data/providers are you using?</span><span style="font-size:12.0pt"></span></p>


<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D"> </span></p>
</div><p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:black">We are using Basic Layout embedded in an aspx page.  We are using DWF and SDF files for the graphics with many of the SDF joined via the ODBC provider for dynamic access
 to tables in the database as the database is updated regularly.  There is 1 SDF layer, 4 DWF layers, 13 themed SDF/ODBC joined layers, and 8 labeled SDF/ODBC point layers.  The map xml is generated dynamically based on a user picked value from an aspx page.</span></p>

<div class="im">
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D">Are you using raster imagery and if so what format?</span></p>
</div><p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:black">No raster</span></p><div class="im">
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D"> </span><span style="font-size:12.0pt"></span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D">Yes the 64 connection limit has been removed, but other components including the Berkeley database and physical disk I/O for example will limit the number of concurrent
 connections?</span></p>
</div><p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:black">We have followed the criteria for optimized settings based on the webconfig/serverconfig document that Trevor published.</span></p>

<div class="im">
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D"> </span><span style="font-size:12.0pt"></span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D">What is your hardware? How many CPUs/cores? Is everything running on the same box?</span></p>
</div><p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:black">Two Virtual machines load balanced using F5 Load Balancer running MG and the .net code.  Both machines have
</span><span lang="EN-CA" style="font-size:12.0pt;color:black">Intel Xeon CPU 2.6ghz 2 processor</span><span style="font-size:12.0pt;color:black"> with 4 GB of RAM.  SQL Server 2008 runs on a separate machine and currently the SDF files are stored on a separate
 machine although this was done recently to try and reduce disk IO on the server.</span></p><div class="im">
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D"> </span><span style="font-size:12.0pt"></span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D">What are your users doing at the time things lock up?</span></p>
</div><p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:black">We start at the initial screen and pick a value to load the map.  Two or perhaps three may get the map loaded, all others will sit and wait until the server ultimately
 fails.</span></p>
<p class="MsoNormal" style="margin-left:.15in"><b><span style="font-size:12.0pt;color:#00B050"> </span></b></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D">Hope this will give you some information on what we did.</span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D">I appreciate your help on this.</span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D">Thanks,</span></p>
<p class="MsoNormal" style="margin-left:.15in"><span style="font-size:12.0pt;color:#1F497D">Bala
</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Dave Wilson</span></p><div class="im"><br>
<b>Sent:</b> Wednesday, August 25, 2010 4:09 PM<br>
<b>To:</b> MapGuide Users Mail List<br>
</div><b>Subject:</b> [mapguide-users] RE: Mapguide 2.2 Performance issue<p></p>
</div>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:#1F497D">You will need to provide a lot more detail than &quot;it doesn&#39;t work&quot; to get a useful response :)</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">What configuration are you using? .NET, APACHE etc..</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Are you using Basic or Flexible Web Layouts? What kind of data/providers are you using?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Are you using raster imagery and if so what format?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Yes the 64 connection limit has been removed, but other components including the Berkeley database and physical disk I/O for example will limit the number of concurrent connections?</span></p>


<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">What is your hardware? How many CPUs/cores? Is everything running on the same box?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">What are your users doing at the time things lock up?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Dave</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Devadoss, Bala (US)<br>
<b>Sent:</b> Wednesday, August 25, 2010 3:02 PM<br>
<b>To:</b> <a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<b>Subject:</b> [mapguide-users] Mapguide 2.2 Performance issue</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">We just started testing 64 bit MGO 2.2 on windows 2008R2. When we load tested our site with 10 simultaneous users, the Mapguide service stops responding and we had to restart the service.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I thought MGO2.2 is fixed to handle around 500 connections at the same time compared to 64 connections in MGO2.1.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Please throw some ideas for the performance issue.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Bala</p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><br>
</span><span style="font-size:12.0pt;font-family:&quot;Courier New&quot;"><br>
<br>
This email is for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this
 email without the author&#39;s prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or
 damage caused by software viruses. The information contained in this communication may be confidential and may be subject to the attorney-client privilege. If you are the intended recipient and you do not wish to receive similar electronic messages from us
 in the future then please respond to the sender to this effect.</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"></span></p>
</div></div></div><div><div></div><div class="h5">
<br>
<font face="Arial" color="Gray" size="1"></font>
<font face="monospace"><br>
<br>
This email is for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author&#39;s prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. The information contained in this communication may be confidential and may be subject to the attorney-client privilege. If you are the intended recipient and you do not wish to receive similar electronic messages from us in the future then please respond to the sender to this effect.</font></div>

</div></div>

<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></blockquote></div><br>