[OSM-dev] tirex-batch tiles are not used by mod_tile

Max Wukits max at toursprung.com
Wed Mar 28 11:39:05 BST 2012


hello, i have a working mod_tile/tirex setup. to save load on the tileserver i pre-created all tiles for europe up to zoomlevel 15.

  	tirex-batch map=terrain bbox=-12,34,48,60 z=5-15

this took about 5days of rendering time, but it seems, that this tiles are not used by mod_tile. here are some lines from tirex/jobs.log

	2012-03-22T21:27:55 id=1332438509_61930816 map=terrain x=4536 y=2768 z=13 prio=99 request_time=1332438509 expire= sources= render_time=2877 success=1
	2012-03-27T17:33:32 id=1332862409_46017048 map=terrain x=4536 y=2768 z=13 prio=2 request_time=1332862409 expire= sources=MMMM render_time=2646 success=1

you can see, the above tile is rendered twice. and if you request this tile, you have to wait until the tile is rendered (i.e. the old tile in filesystem is not delivered to the client). after the tiles is displayed in the browser the mod_tile cache works perfekt.

please can anyone help me?

thx and greetings from vienna. max.

ps: you can look to the work at http://mtk2.toursprung.com/v8
pps: here is the output of tirex-tiledir-stats

                          ------------------Tiles-------------------  ----------Age----------  ----------Size---------  ---------Blocks--------  Block
Map                  Zoom       Count        Max  Empty Exist% Empty%      Min     Avg     Max      Min     Avg     Max      Min     Avg     Max  Eff %
-------------------------------------------------------------------------------------------------------------------------------------------------------
terrain                 4           2          4      0  50.00   0.00    2d22h   2d22h   2d22h   162338  186201  210065      320     368     416     99
terrain                 5           2         16      0  12.50   0.00    1d 8h   1d 8h   1d 8h   189194  360664  532134      376     708    1040     99
terrain                 6           7         64      0  10.94   0.00    1d 0h   2d13h   5d 3h   125988  363637 1268928      248     714    2480     99
terrain                 7          12        256      0   4.69   0.00    4h40m   2d 0h   5d 1h   188731  678146 1605715      376    1329    3144     100
terrain                 8          28       1024      2   2.73   0.20    4h41m   2d19h   5d 1h     7124  973329 1873490       16    1905    3664     100
terrain                 9          96       4096      6   2.34   0.15    2h 3m   4d 2h   5d 1h     7124 1188840 2939793       16    2325    5744     100
terrain                10         345      16384     30   2.11   0.18   16m40s   4d12h   5d 0h     7124 1143165 3046570       16    2236    5952 100
terrain                11        1286      65536    145   1.96   0.22   16m51s   4d13h   5d 0h     7124  941342 2744138       16    1842    5360 100
terrain                12        4959     262144    695   1.89   0.27   16m38s   4d20h   5d 1h     7124  708337 2525823       16    1387    4936     100
terrain                13       19436    1048576   3477   1.85   0.33   16m35s   4d18h   4d21h     7124  556441 2332295       16    1090    4560     100
terrain                14       77175    4194304  17314   1.84   0.41   24m13s   3d23h   4d 8h     7124  364792 2402824       16     716    4696     100
terrain                15      306432   16777216  82938   1.83   0.49    1h29m   1d20h   3d 8h     7124  245844 2057779       16     483    4024     99
terrain                16          86   67108864      2   0.00   0.00   31m 7s   1d16h   5d 1h     7124  804035 1503334       16    1574    2944    100
terrain                17          61  268435456      0   0.00   0.00   34m48s   2d13h   5d 1h   178119  698415 1053389      352    1368    2064     100
-------------------------------------------------------------------------------------------------------------------------------------------------------
ALL                   ALL      409927  357913940 104609   0.11   0.03   16m35s   2d10h   5d 3h     7124  291966 3046570       16     573 5952     99
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120328/6266b781/attachment.html>


More information about the dev mailing list