Skip to Content.
Sympa Menu

overpass - Re: [overpass] Should my Overpass server always be using 100% CPU?

Subject: Overpass API developpement

List archive

Re: [overpass] Should my Overpass server always be using 100% CPU?


Chronological Thread 
  • From: "James Chevalier" <>
  • To:
  • Subject: Re: [overpass] Should my Overpass server always be using 100% CPU?
  • Date: Tue, 10 Sep 2019 23:02:41 +0000

I had to resize my EC2 instance, so I stopped the server by running:

- bin/dispatcher --osm-base --terminate
- bin/dispatcher --areas --terminate
- sudo shutdown now -h

Then I started the server back up and ran these commands:

- rm -f db/osm3s_v0.7.55_osm_base
- nohup bin/dispatcher --osm-base --meta --db-dir="db/" >> osm_base.out &
- chmod 666 "db/osm3s_v0.7.55_osm_base"
- nohup bin/fetch_osc.sh `cat db/replicate_id`
"http://planet.openstreetmap.org/replication/minute/"; "diffs/" >>
fetch_osc.out &
- nohup bin/apply_osc_to_db.sh "diffs/" `cat db/replicate_id` --meta=yes >>
apply_osc_to_db.out &
- rm -f db/osm3s_v0.7.54_areas
- nohup bin/dispatcher --areas --db-dir="db/" >> areas.out &

I did not re-run nohup bin/rules_loop.sh "db" & after reboot. I'm unsure if I
need to, and things seem to be working well without it. The server does not
run at continuous 100% CPU usage any more, after the reboot.

I based this process on the reboot script that I found in the bin directory.
I'm unsure if what I did is correct...
https://github.com/drolbr/Overpass-API/blob/master/src/bin/reboot.sh



Archive powered by MHonArc 2.6.19+.

Top of Page