some adjustments
authorUser for running Openstreetmap-things <osm@osm.rrze.uni-erlangen.de>
Thu, 4 Feb 2016 13:46:42 +0000 (14:46 +0100)
committerUser for running Openstreetmap-things <osm@osm.rrze.uni-erlangen.de>
Thu, 4 Feb 2016 13:46:42 +0000 (14:46 +0100)
scripts/dailymaint.sh

index dbe2a41ad937e8ca987c166e0dc50da42b064923..e3da2b72a90cee3af7c75ee6df401d9c6a1cd78f 100755 (executable)
@@ -13,10 +13,11 @@ sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 10-20 --action del
 # Regenerate a part of zoomlevel 0-12 tiles. There are at most 350000 such tiles.
 # At 5000 a day, it'll take 70 days to regenerate all. As they hardly ever change, that should be fine.
 export PRIO=31
+# unrz191 2015-09-11: reduce number of 5000 because we have deleted a lot of tiles that are cheap to rerender.
 /home.local/osm/bin/osmtilecleanup.pl --zoom  0-12 --action rerender \
-                                      --limit 5000 --rrs /home.local/osm/bin/osmrerenderwrapper.sh /var/lib/tirex/tiles/osm
+                                      --limit 2000 --rrs /home.local/osm/bin/osmrerenderwrapper.sh /var/lib/tirex/tiles/osm
 /home.local/osm/bin/osmtilecleanup.pl --zoom  0-12 --action rerender \
-                                      --limit 5000 --rrs /home.local/osm/bin/osmrerenderwrapper-osmde.sh /var/lib/tirex/tiles/osmde
+                                      --limit 2000 --rrs /home.local/osm/bin/osmrerenderwrapper-osmde.sh /var/lib/tirex/tiles/osmde
 # Regenerate (part of) zoomlevel 13-14 tiles. Some of these are pretty expensive, so
 # we rather rerender them scheduled than when they change (usually they really don't,
 # it is 99 percent false alerts).
@@ -27,6 +28,7 @@ export PRIO=31
 # Update tile stats for munin
 tirex-tiledir-check --stats=/var/lib/tirex/stats/tiles-osm.stats osm
 tirex-tiledir-check --stats=/var/lib/tirex/stats/tiles-osmde.stats osmde
+tirex-tiledir-check --stats=/var/lib/tirex/stats/tiles-osmhd.stats osmhd
 
 DOW=`/bin/date '+%w'`
 if [ "$DOW" == "6" -o "$DOW" == "3" ] ; then
This page took 0.062807 seconds and 4 git commands to generate.