]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/templates/default/planetdump.erb
Limit concurrency of planet dump
[chef.git] / cookbooks / planet / templates / default / planetdump.erb
index 15a0051910152841cb635e898e8e7294b5e4d111..22214b8ac321f0b764910948d150ef56129f848a 100644 (file)
@@ -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" \