From f24c9c1743ccdb38d435737cfc10a3c1d6001b15 Mon Sep 17 00:00:00 2001 From: User for running Openstreetmap-things Date: Thu, 4 Feb 2016 14:46:42 +0100 Subject: [PATCH] some adjustments --- scripts/dailymaint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/dailymaint.sh b/scripts/dailymaint.sh index dbe2a41..e3da2b7 100755 --- a/scripts/dailymaint.sh +++ b/scripts/dailymaint.sh @@ -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 -- 2.25.1