[MapProxy] client_timeout

Sandor Csaba sandor.csaba at viamap.hu
Tue Nov 30 07:42:27 EST 2010


Thank you very much this has solved it!

Another issue in separate thread...

Regards,
Csaba


On 30 November 2010 12:01, Oliver Tonnhofer <olt at omniscale.de> wrote:

>
> On 30.11.2010, at 11:29, Sandor Csaba wrote:
> > 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:
> >
> > 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 "-" ""
> > 2010-11-29 18:23:02,565 - ERROR - 16764:mapproxy.service.tile:render - No
> response from URL (http://localhost:81/cgi-bin/ma...): timed out
> >
> > 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.
> >
> > I found the client_timeout config option, but the server doesn't seem to
> take it into account.
>
> 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/).
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer <olt at omniscale.de>
> Omniscale - Dominik Helle, Oliver Tonnhofer GbR
> Nadorster Str. 60, 26123 Oldenburg
> Tel: +49(0)441/9392774-2 (Fax: 9)
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
>



-- 
Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 1132 Budapest, Váci út 60-62.

Iroda: Hungária Malom Udvar
1093 Budapest, Soroksári út 48-54.
11. ép. 4. em. 404.

Tel: +3630/9605853
Fax: +3617002542
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20101130/c1fd5396/attachment.html


More information about the MapProxy mailing list