Overpass-API icon indicating copy to clipboard operation
Overpass-API copied to clipboard

Recommended way to stop the area building process ?

Open sletuffe opened this issue 8 years ago • 1 comments

When stopping overpass services, the osm3s_query for the area creation loop would benefit from having a proper shutdown procedure.

sletuffe avatar Oct 12 '16 12:10 sletuffe

What is the recommended shutdown / server reboot procedure?

Something like this?

  • Run a kill $PID for each process
  • Shut down the server
  • Start the server
  • Run these commands to get things operating again (assuming the database exists in db):
    • nohup bin/dispatcher --osm-base --meta --db-dir="db/" &
    • nohup bin/fetch_osc.sh START_ID "http://planet.openstreetmap.org/replication/minute/" "diffs/" &
    • nohup bin/apply_osc_to_db.sh "diffs/" START_ID --meta=yes &
    • nohup bin/dispatcher --areas --db-dir="db/" &
    • nohup bin/rules_loop.sh "db" &

Something else?

JamesChevalier avatar Sep 08 '19 13:09 JamesChevalier