<div dir="ltr">Hi list,<div><br></div><div>I am facing a strange issue related with tile locking, while running mapproxy under apache httpd with mod_wsgi.</div><div><br></div><div>Apache and cache dirs are owned by the same user and I am currently serving 'on-the-fly' data from mapnik (2.0.1).</div>
<div><br></div><div style>The stack trace seems familiar with previous issues here on list:</div><div style><br></div><div style>...</div><div style><div><i>  File "/usr/lib/python2.6/site-packages/mapproxy/source/mapnik.py", line 86, in render</i></div>
<div><i>    with self.lock():</i></div><div><i>  File "/usr/lib/python2.6/site-packages/mapproxy/platform/cpython/lock.py", line 42, in __enter__</i></div><div><i>    self.lock()</i></div><div><i>  File "/usr/lib/python2.6/site-packages/mapproxy/platform/cpython/lock.py", line 72, in lock</i></div>
<div><i>    raise LockTimeout('another process is still running with our lock')</i></div><div><i>LockTimeout: another process is still running with our lock</i></div><div><br></div><div style>I can check the lock tiles on filesystem, but they seem empty (0bytes)</div>
<div style><br></div><div style>Some config options:</div><div style><i>client_timeout: 120<br></i></div><div style><i><br></i></div><div style><div><i>sources:</i></div><div><i>  MAPNIK_OSM_OSP:</i></div><div><i>    type: mapnik</i></div>
<div><i>    mapfile: 'mymapfile.xml' </i></div><div><i>    use_mapnik2: true</i></div><div><i>    concurrent_requests: 1</i></div></div></div><div style><br></div><div style>wsgi config (from mapproxy-util):</div>
<div style><div><i>from mapproxy.wsgiapp import make_wsgi_app</i></div><div><i>application = make_wsgi_app(r'myconfigfile.yaml')</i></div></div><div style><br></div><div style>Any thoughts on this issue?<br></div>
<div><br></div><div>P.S.- I can deliver 'on-the-fly' data with <i>serve-develop</i> server, but I am facing a concurrency problem with mapnik OCCI plugin. I have to setup a preforked apache environment to overcome this problem.</div>
<div><br></div><div><div><br></div><div style>Thank you!</div><div><br></div><div style>Cheers,</div>-- <br><div>Fernando Ribeiro</div>
</div></div>