<div dir="ltr">Hallo Anna,<div><br></div><div>did you check that directory</div><div><span style="font-size:12.8px">/var/www/mapproxy/cache_</span><span style="font-size:12.8px">data/tile_locks/</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">actually exists and is writeable by the mapproxy user?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">You can specify the location of the lock directory in you yaml file, for instance:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">cache:</span></div><div><span style="font-size:12.8px">  lock_dir: '/tmp/'</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Cheers,</span></div><div><span style="font-size:12.8px"><br>Anne</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-26 22:45 GMT+02:00 Pestereva, Anna <span dir="ltr"><<a href="mailto:apestereva@aerialservicesinc.com" target="_blank">apestereva@aerialservicesinc.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Attila,<br><br></div>thank you for the suggestion! I can't see anything abnormal in our servers utilization metrics though.. Also the errors don't seem to depend on a single data source or even single kind of source or cache config, which makes it quite confusing..<br>Will see if updating Mapproxy version will have a positive effect.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Anna<br></font></span><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Jul 26, 2016 at 5:38 AM, BERÉNYI Attila <span dir="ltr"><<a href="mailto:aberenyi@gislab.hu" target="_blank">aberenyi@gislab.hu</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr">Hi there,<div><br></div><div>We've been fighting the same error for the last couple of days, and it turned out that the root cause is a data error (actually a character encoding issue in the labels) - basically this means that the lock issue in its own is not really helpful.</div><div><br></div><div>You've mentioned that the data is coming from an NFS share - maybe worth checking the I/O rates?</div><div><br></div><div>Cheers,</div><div>Attila</div></div><br></span><div class="gmail_quote"><span class=""><div><div><div dir="ltr">Pestereva, Anna <<a href="mailto:apestereva@aerialservicesinc.com" target="_blank">apestereva@aerialservicesinc.com</a>> ezt írta (időpont: 2016. júl. 26., K, 0:45):<br></div></div></div></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div><div><div dir="ltr"><div>Well, so far the most sure fix has been to explicitly configure caches with <i>disable_storage: true</i>. Although it is a relief to not see errors without changing functionally for most layers (since cache is not stored anyway for mixed format sources) - the original question remains open, why would those errors appear in the first place? We'd prefer to store tiles for caches/sources that support it.<br><br></div>Also, would it be correct to say that it is the best practice to explicitly disable storage for caches that don't save tiles anyway?<br></div><div class="gmail_extra"></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 22, 2016 at 5:25 PM, Pestereva, Anna <span dir="ltr"><<a href="mailto:apestereva@aerialservicesinc.com" target="_blank">apestereva@aerialservicesinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>A little more information if it can help anyone notice the reason/solution:<br><br></div>- errors occur with caches based not on just mixed sources, but also with caches based on single wms source, where cache tiles are being physically saved to disk.<br></div>- errors occur only with the most frequently used caches<br></div>- configuring and using a new cache with all the same settings, but a new name, helps temporarily. For some time any errors stop, but after the popular layer is used a bit, errors start appearing again although at a slower rate than before.<br><br></div>Will be glad to hear any thoughts!<br></div>Thanks!<br></div><span><div class="gmail_extra"><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;color:rgb(0,40,168)">Anna Pestereva, GISP</span><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif"> | <i><span>Application Developer & Cartographer</span></i></span></b><span style="line-height:115%;font-size:12pt;font-family:Arial,sans-serif"><br>


</span><b><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;color:gray">Aerial Services, Inc.
(ASI) </span></b><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;color:gray"><br>
</span><span style="font-size:11pt;line-height:115%;font-family:Calibri,sans-serif"><a href="http://aerialservicesinc.com/photoblogmetry/" target="_blank"><span style="font-size:10pt;line-height:115%;font-family:Arial,sans-serif"></span></a></span><span></span></div></div></div></div>
</div></span></div>
</blockquote></div><br><br clear="all"><br>-- <br></div><div class="gmail_extra"><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;color:rgb(0,40,168)">Anna Pestereva, GISP</span><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif"> | <i><span>Application Developer & Cartographer</span></i></span></b><span style="line-height:115%;font-size:12pt;font-family:Arial,sans-serif"><br>


</span><b><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;color:gray">Aerial Services, Inc.
(ASI) </span></b><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;color:gray"><br>
</span></div></div></div></div></div></div></div></span><span class="">
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a></span></blockquote></div><span class=""><span><font color="#888888"><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><span>BERÉNYI Attila, PhD</span><div>ügyvezető </div><div><br></div><div>GISLab Consulting Kft.<br></div><div>H-1031 Budapest, Kadosa utca 59.</div><div><br></div><div>M: <a href="tel:%2B36%2020%20457%201800" value="+36204571800" target="_blank">+36 20 457 1800</a></div><div>W: <a>http://gislab.hu</a></div></div></div>
</font></span></span></blockquote></div><br><br clear="all"><span class=""><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;color:rgb(0,40,168)">Anna Pestereva, GISP</span><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif"> | <i><span>Application Developer & Cartographer</span></i></span></b><span style="line-height:115%;font-size:12pt;font-family:Arial,sans-serif"><br>


</span><b><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;color:gray">Aerial Services, Inc.
(ASI) </span></b><span style="font-size:12pt;line-height:115%;font-family:Arial,sans-serif;color:gray"><br>
</span><span style="font-size:11pt;line-height:115%;font-family:Calibri,sans-serif"><a href="http://aerialservicesinc.com/photoblogmetry/" target="_blank"><span style="font-size:10pt;line-height:115%;font-family:Arial,sans-serif"></span></a></span><span></span></div></div></div></div>
</span></div></div></div></div></div></div>
<br>_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br></blockquote></div><br></div>