[MapProxy] GetCapabilities request produces read data timeout in 40 seconds

Christian Willmes c.willmes at uni-koeln.de
Wed Apr 27 07:28:12 EDT 2011


Thanks!

one of my source WMS (with Legend) was not responding, disabling this
server in the mapproxy.yaml solved the GetCapabilities issue.
The key grid thing was a typo in the grids definition... everything
seems to run fine now.

Thanks again and regards,
Christian

On 27.04.2011 12:56, Oliver Tonnhofer wrote:
> 
> On 27.04.2011, at 10:37, Christian Willmes wrote:
>> I get an Internal Server Error 500 from Apache (MapProxy is running via
>> Apache2 with mod_fcgid).
>>
>> And the following appaers in the error logs:
>>
>> 2011-04-27 10:24:14,706 - INFO -
>> 1466:mapproxy.config.loader:load_configuration - Reading services
>> configuration: /var/local/mapproxy/etc/mapproxy.yaml
>> 2011-04-27 10:24:14,773 - WARNING - 1466:mapproxy.config.loader:__init__
>> - unexpected key grid
>> 2011-04-27 10:24:14,774 - WARNING - 1466:mapproxy.config.loader:__init__
>> - unexpected key grid
>> 2011-04-27 10:24:14,774 - WARNING - 1466:mapproxy.config.loader:__init__
>> - unexpected key grid
>> [Wed Apr 27 10:24:54 2011] [warn] mod_fcgid: read data timeout in 40 seconds
>> [Wed Apr 27 10:24:54 2011] [error] [client 134.95.150.136] Premature end
>> of script headers: mapproxy.fcgi, referer:
>> http://<productionserver>/mapproxy/demo/
>> [Wed Apr 27 10:25:05 2011] [warn] mod_fcgid: process 1466 graceful kill
>> fail, sending SIGKILL
>> [Wed Apr 27 10:25:11 2011] [notice] mod_fcgid: process
>> /var/local/mapproxy/etc/mapproxy.fcgi(1466) exit(communication error),
>> get stop signal 9
> 
> 
> MapProxy does not respond within 40 seconds and that triggers a timeout in mod_fcgid. You could increase that timeout but a GetCapabilities request shouldn't take that long :)
> Other requests work?
> 
> Do you have legends? MapProxy caches all legends with the first CapabilitieRequests to get the actual legend sizes (required for the capabilities). Maybe that server does not respond?
> 
> For the 'unexpected key grid', can you post your config?
> 
> Regards,
> Oliver
> 


-- 
Christian Willmes
AG GIS & Fernerkundung      | GIS & RS Group
Geographisches Institut     | Institute of Geography
Universität zu Köln         | University of Cologne
Tel.: +49 (0)221 470 6234
Fax.: +49 (0)221 470 2280
http://www.geographie.uni-koeln.de/gis
http://www.sfb806.de


More information about the MapProxy mailing list