I&#39;ve did some testing and it seems we can handle this problem by disabling the connection pooling for the background layer. I&#39;ve added <a href="http://trac.osgeo.org/mapserver/attachment/ticket/3647/mappool.c.patch">a patch for mappool.c</a> to the ticket of <a href="http://mapserver.org/development/rfc/ms-rfc-65.html">RFC-65</a> which implements the <span>DISABLE_CONNECTION_POOL processing option to suppress the connection pooling. This can be used in mapdraw.c when the background layer is drawn.<br>
<br>Best regards,<br><br>Tamas<br></span><br><br><br><div class="gmail_quote">2011/2/26 Tamas Szekeres <span dir="ltr">&lt;<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><br><div class="gmail_quote">2011/2/26 Lime, Steve D (DNR) <span dir="ltr">&lt;<a href="mailto:Steve.Lime@state.mn.us" target="_blank">Steve.Lime@state.mn.us</a>&gt;</span><div class="im"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
I don&#39;t quite follow the query map issue. That problem must have existed pre-RFC-65 correct?<br>
<br></blockquote></div><div><br><br>I think we could establish a preprocess option to disable the connection pooling when drawing the background map. I&#39;ll give it a try.<br><br>Best regards,<br><br>Tamas<br><br></div>
</div>
<br><div style="padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;">
</div>
</blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>