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

"runtime error: The dispatcher (i.e. the database management system) is turned off." - while it is working

Open markul-ozon opened this issue 5 years ago • 3 comments

This problem occurs on Ubuntu docker image and Fedora 31. Followed the installation procedure from https://wiki.openstreetmap.org/wiki/Overpass_API/Installation Any request going to interpreter results in: "Error: runtime error: The dispatcher (i.e. the database management system) is turned off." $DB_DIR/transactions.log after performing a sample query:

2020-07-08 06:59:09 [148525] Dispatcher version 0.7.56.3 eb200aebdae27bd8635c5829a2bdfcdb06d0ab5c just started. [...] 2020-07-09 10:37:23 [198310] request_read_and_idx() start 2020-07-09 10:37:23 [148525] waited idle for 293 cycles. 2020-07-09 10:37:23 [148525] request_read_and_idx of process 198310 timeout 180 space 536870912. 2020-07-09 10:37:23 [198310] request_read_and_idx() end 2020-07-09 10:37:23 [198310] read_idx_finished() start 2020-07-09 10:37:23 [148525] waited idle for 1 cycles. 2020-07-09 10:37:23 [148525] read_idx_finished 198310. 2020-07-09 10:37:23 [198310] read_idx_finished() end 2020-07-09 10:37:23 [198310] [out:csv(name, ::id; false;",")];area[name="województwo zachodniopomorskie"][admin_level=4][boundary=administrative]->.myarea;rel(area.myarea)[admin_level=6][boundary=administrative];out; 2020-07-09 10:37:23 [148525] waited idle for 1 cycles. 2020-07-09 10:37:23 [148525] read_aborted of process 198310.

markul-ozon avatar Jul 09 '20 10:07 markul-ozon

You need a dedicated area dispatcher process, and need to create areas upfront before running your query. Did you do this?

https://listes.openstreetmap.fr/wws/info/overpass may be a better place for operational issues, as this issue tracker is for bug reports and enhancements requests only.

mmd-osm avatar Jul 21 '20 20:07 mmd-osm

Sorry for delayed answer. Yes, I missed the steps required to make areas available for requests. Thank you for pointing me the right direction. My suspicion that there was some sort of bug was unfounded.

markul-ozon avatar Oct 28 '20 09:10 markul-ozon

@markul-ozon : if the issue is resolved now, can you please close this issue?

mmd-osm avatar Jul 03 '21 15:07 mmd-osm