[MapProxy] client_timeout

Sandor Csaba sandor.csaba at viamap.hu
Tue Nov 30 05:29:56 EST 2010


Hi list,

I'm brand new to mapproxy and so far liked it very much.

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.

The mapproxy.yaml global section looks like this:

globals:
...
  http:
    client_timeout: 86400

Mapproxy 0.9.0 runs as a fastcgi server under Apache2.

What am I doing wrong?

Thank you,

Csaba

-- 
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/6fc3ef34/attachment.html


More information about the MapProxy mailing list