[MapProxy] timeout for slow WMS server

Oliver Tonnhofer olt at omniscale.de
Fri Oct 28 05:54:41 EDT 2011


Hi Jaak,

On 28.10.2011, at 11:43, Jaak Laineste wrote:
> I'm trying to use MapProxy as global OSM WMS server. I have full planet in imposm database and Mapserver as WMS server. The problem is that low-zoom queries (especially with zooms 4-6 and metatiles) are very slow, take many minutes. The plan is to pre-seed low zoom levels to cache, so slowness would not be really visible for enduser. But the problem seems to be that mapproxy times out with these queries and never really seeds cache, and I cannot find a way to extend backend timeout in mapproxy configuration. Quickfix in code level would work for me also, but I don't really know Python enough to start to mess with this.


There is the http.cient_timeout option for WMS sources. See: http://mapproxy.org/docs/nightly/sources.html#http

Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn






More information about the MapProxy mailing list