Hi everyone, I didn't find an answer to this specific problem, so I decided to post it here. I hope somebody can help me out.
I have set up (for the first time) an Ubuntu Server with Apache2 and renderd/mod_tile - using the instructions from switch2osm.org. I did the import to PostGIS/Postgres with osm2pgsql (hstore) and used the german style. With render_list I prerendered Germany up to zoom level 16 for performance reasons. Nearly everything is working fine, my Leaflet-page works. Except: when first accessing the (not prerendered) tiles in zoomlevel 17 and 18 I often receive quite quickly (29-49ms) a HTTP 404 response. When accessing the same tiles again some seconds later they are sent without any problems (HTTP 200). I guess that the 404 response is sent because the tile couldn't be rendered in a certain amount of time. I tried several settings in /etc/apache2/sites-available/default (for example "ModTileRequestTimeout 0" and "ModTileMissingRequestTimeout 30"), but still the 404 comes on the first request. Later requests (2nd, 3rd, ...) are responded to with 200. Any ideas? See below for extracts from files I thought to be relevant (/var/log/syslog, /var/log/apache2/error.log, /etc/apache2/sites-available/default). Thanks for any hint, Stefan Syslog ---------- Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Got incoming connection, fd 11, number 1 Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Got incoming connection, fd 12, number 2 Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Got command Dirty fd(11) xml(default), z(17), x(69453), y(43339) Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Connection 0, fd 11 closed, now 1 left Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Got command Dirty fd(12) xml(default), z(17), x(69452), y(43340) Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Connection 0, fd 12 closed, now 0 left Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Got incoming connection, fd 11, number 1 Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Got command Dirty fd(11) xml(default), z(17), x(69452), y(43339) Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Connection 0, fd 11 closed, now 0 left Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Got incoming connection, fd 11, number 1 Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Got incoming connection, fd 12, number 2 Nov 8 20:23:52 xxxxxx renderd[16476]: DEBUG: Got command Dirty fd(11) xml(default), z(17), x(69453), y(43338) [...deleted similar lines...] Nov 8 20:23:55 xxxxxx renderd[16476]: DEBUG: DONE TILE default 17 69448-69455 43336-43343 Nov 8 20:23:55 xxxxxx renderd[16476]: DEBUG: DONE TILE default 17 69448-69455 43336-43343 in 2.967 seconds ---------- Apache2 error.log ---------- 83.84.xx.xxx - - [08/Nov/2012:20:23:52 +0100] "GET /osm_tiles2/17/69455/43339.png HTTP/1.1" 404 523 "http://xxxx.yyyy.de/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" 83.84.xx.xxx - - [08/Nov/2012:20:23:52 +0100] "GET /osm_tiles2/17/69454/43341.png HTTP/1.1" 404 523 "http://xxxx.yyyy.de/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" 83.84.xx.xxx - - [08/Nov/2012:20:23:52 +0100] "GET /osm_tiles2/17/69451/43341.png HTTP/1.1" 404 523 "http://xxxx.yyyy.de/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" 83.84.xx.xxx - - [08/Nov/2012:20:23:52 +0100] "GET /osm_tiles2/17/69450/43339.png HTTP/1.1" 404 523 "http://xxxx.yyyy.de/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" 83.84.xx.xxx - - [08/Nov/2012:20:23:52 +0100] "GET /osm_tiles2/17/69450/43338.png HTTP/1.1" 404 523 "http://xxxx.yyyy.de/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" 83.84.xx.xxx - - [08/Nov/2012:20:23:52 +0100] "GET /osm_tiles2/17/69455/43338.png HTTP/1.1" 404 523 "http://xxxx.yyyy.de/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" 83.84.xx.xxx - - [08/Nov/2012:20:23:52 +0100] "GET /osm_tiles2/17/69450/43340.png HTTP/1.1" 404 522 "http://xxxx.yyyy.de/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" 83.84.xx.xxx - - [08/Nov/2012:20:23:52 +0100] "GET /osm_tiles2/17/69450/43341.png HTTP/1.1" 404 523 "http://xxxx.yyyy.de/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" 83.84.xx.xxx - - [08/Nov/2012:20:23:52 +0100] "GET /osm_tiles2/17/69455/43341.png HTTP/1.1" 404 524 "http://xxxx.yyyy.de/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" 83.84.xx.xxx - - [08/Nov/2012:20:23:52 +0100] "GET /osm_tiles2/17/69455/43340.png HTTP/1.1" 404 523 "http://xxxx.yyyy.de/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17" ---------- /etc/apache2/sites-available/default ---------- <VirtualHost *:80> ServerAdmin webmaster@localhost LoadTileConfigFile /usr/local/etc/renderd.conf ModTileRenderdSocketName /var/run/renderd/renderd.sock # Timeout before giving up for a tile to be rendered ModTileRequestTimeout 0 # Timeout before giving up for a tile to be rendered that is otherwise missing ModTileMissingRequestTimeout 30 [...more lines...] ---------- _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

