Overpass API developpement

Text archives Help

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

Chronological Thread 
  • From: Igor Brejc < >
  • To:
  • Subject: Re: [overpass] Should my Overpass server always be using 100% CPU?
  • Date: Wed, 11 Sep 2019 06:35:54 +0200

Hi James,

Out of curiosity: what kind of EC2 instance are you running now?


On Wed, Sep 11, 2019, 01:02 James Chevalier < > wrote:
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...

Archive powered by MHonArc 2.6.19+.

Top of page