<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Oct 27, 2017 at 1:23 PM,  <span dir="ltr"><<a href="mailto:lars.schylberg@blixtmail.se" target="_blank">lars.schylberg@blixtmail.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div><div class="gmail-m_-1834954551271307244iw_mail" dir="ltr">
<p style="margin:0px">Looking at the text just below these rows:<br></p>
<p style="margin:0px"><br></p>
<p style="margin:0px"><a href="https://github.com/mapserver/mapserver/blob/66309eebb7ba0dc70469efeb40f865a8e88fafbd/mappool.c#L62-L65" target="_blank">https://github.com/mapserver/<wbr>mapserver/blob/<wbr>66309eebb7ba0dc70469efeb40f865<wbr>a8e88fafbd/mappool.c#L62-L65</a></p>
<p style="margin:0px"><br></p>
<p style="margin:0px">I see that there is an option that is not documented:</p>
<p style="margin:0px"><br></p>
<p style="margin:0px">CLOSE CONNECTION=NORMAL</p>
<p style="margin:0px"><br></p>
<p style="margin:0px">Shouldn't that option be described in the manual page for LAYER, even if it is the default behavior  ?</p>
<p style="margin:0px"></p></div></div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">I noticed that too... What's the process to update the docs? Do I submit a pull request to <a href="https://github.com/mapserver/docs">https://github.com/mapserver/docs</a> ?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Even helped me realize another potential source of memory growth in MapServer when reading imagery with /vsicurl/ and CLOSE_CONNECTION=DEFER:  The config VSI_CACHE is per file handle!</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">> """<br></div><div class="gmail_extra">> The default size of caching for each file is 25 MB, and</div><div class="gmail_extra">> can be controlled with the VSI_CACHE_SIZE configuration option (value in bytes).</div><div class="gmail_extra">> Content in that cache is discarded when the file handle is closed.</div><div class="gmail_extra">> """</div><div class="gmail_extra">> ( <a href="http://gdal.org/gdal_virtual_file_systems.html#gdal_virtual_file_systems_vsicache">http://gdal.org/gdal_virtual_file_systems.html#gdal_virtual_file_systems_vsicache</a> )</div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://lists.osgeo.org/pipermail/gdal-dev/2017-October/047497.html">https://lists.osgeo.org/pipermail/gdal-dev/2017-October/047497.html</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">This thread explains a lot of confusion I had in the past couple of days trying to understand high memory use in MapServer. </div><div><br></div><div>Cheers,</div><div>Pete<br></div>
</div></div>