From: Tom Hughes Date: Fri, 17 Jul 2020 16:17:07 +0000 (+0100) Subject: Limit concurrency of planet dump X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/5a1a80f34089acdc46f1f288225d199cf7fe015b Limit concurrency of planet dump --- diff --git a/cookbooks/planet/templates/default/planetdump.erb b/cookbooks/planet/templates/default/planetdump.erb index 15a005191..22214b8ac 100644 --- a/cookbooks/planet/templates/default/planetdump.erb +++ b/cookbooks/planet/templates/default/planetdump.erb @@ -67,6 +67,7 @@ rm -rf relations relation_tags relation_members # Run the dump time nice -n 19 /opt/planet-dump-ng/planet-dump-ng \ + --max-concurrency=4 \ -c "pbzip2 -c" -f "/store/backup/${file}" --dense-nodes=1 \ -C "changesets-${date}.osm.bz2" \ -D "discussions-${date}.osm.bz2" \