[OSM-dev] 404 from Apache2/mod_tile

Stefan Elspaß stefan.elspass at gmail.com
Fri Nov 9 14:37:01 GMT 2012


Hi Lynn and Martin,

>> unless something was changed recently I think the values in
>> mod_tile.conf are required to be in seconds. See also the default
>> values: http://svn.openstreetmap.org/applications/utils/mod_tile/mod_tile.conf
> 
> Ah well, I needed that egg on my face for breakfast anyway.  It was just a guess given the similarity between his 50 value and an observed timeout of 29-49msec.

If I understand the following code extract from http://svn.openstreetmap.org/applications/utils/mod_tile/mod_tile.c (function request_tile) correctly
struct timeval tv = {(renderImmediately > 1?scfg->request_timeout_priority:scfg->request_timeout), 0 };
[...]
s = select(fd+1, &rx, NULL, NULL, &tv);
only the seconds-part (tv_sec) of the timeval struct  is being set, not the microseconds-part (tv_usec). So I seconds should be correct. But thanks anyway for you answer. Any other ideas?
Greetings, Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20121109/c24e4f0f/attachment.html>


More information about the dev mailing list