Thank you very much this has solved it!<br><br>Another issue in separate thread...<br><br>Regards,<br>Csaba<br><br><br><div class="gmail_quote">On 30 November 2010 12:01, Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de">olt@omniscale.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><br>
On 30.11.2010, at 11:29, Sandor Csaba wrote:<br>
> My problem is that I have a quite slow wms (mapserver cgi) and mapproxy doesn't wait for it until it finishes, but throws a timeout and tries again which gradually kills the server by starting lengthy mapserv processes again and again. This gets logged into the proxy.log:<br>
><br>
> 2010-11-29 18:22:59,896 - INFO - 16764:mapproxy.client.http.http:_log - localhost:81 - - [29/Nov/2010:18:22:58 ] "GET /cgi-bin/mapserv?map=/home/mapadmin/public_html/mapfiles/zoom3-16_hun_beta.map&&layers=FIRST&width=1043&version=1.1.1&bbox=1784156.0,5722664.0,2422558.06024,6221085.0&service=WMS&format=image%2Fpng&styles=&srs=EPSG%3A900913&request=GetMap&height=815 HTTP/1.1" 500 0 "-" ""<br>
> 2010-11-29 18:23:02,565 - ERROR - 16764:mapproxy.service.tile:render - No response from URL (<a href="http://localhost:81/cgi-bin/ma..." target="_blank">http://localhost:81/cgi-bin/ma...</a>): timed out<br>
><br>
> If I copy the request url and paste it into a browser, de tile appears ok, after some minutes of waiting, so I suspect its not an apache timeout.<br>
><br>
> I found the client_timeout config option, but the server doesn't seem to take it into account.<br>
<br>
</div>Looks like a bug in 0.9.0. The default socket timeout is set before the actual configuration is read. I already changed that part and it will be fixed in 0.9.1. Until then you need to change the defaults manually in mapproxy/config/defaults.py (somewhere in lib/python-2.6/site-packages/).<br>
<br>
<br>
Regards,<br>
Oliver<br>
<br>
--<br>
Oliver Tonnhofer <<a href="mailto:olt@omniscale.de">olt@omniscale.de</a>><br>
Omniscale - Dominik Helle, Oliver Tonnhofer GbR<br>
Nadorster Str. 60, 26123 Oldenburg<br>
Tel: +49(0)441/9392774-2 (Fax: 9)<br>
<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" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Sándor Csaba<br>szolgáltatási vezető<br>ViaMap Kft.<br>Székhely/postacím: 1132 Budapest, Váci út 60-62.<br><br>Iroda: Hungária Malom Udvar<br>1093 Budapest, Soroksári út 48-54.<br>
11. ép. 4. em. 404.<br><br>Tel: +3630/9605853<br>Fax: +3617002542<br><br><br>