Hello. Yesterday I've started installation of Overpass API on my dedicated server, following steps described here. Since yesterday I am waiting for database populating step to be finished. I've executed following actions:
I have encountered memory problems during this step and OOM killer interrupted population process. After investigation I've realized that my VPS had memory swaping disabled, so I've enabled memory swapping and set swapfile to 8GB. After that I repeated step 3. once more, this time no problems showed up. But I am wondering if everything is ok, because it is now ~20 hours since population started, and logs in
My questions are: is the speed normal? I can imagine that europe has millions of nodes so if every node has to be flushed that way, it will take almost forever to complete. How can I speed-up that process? My VM:
Currently all RAM memory is used and 4GB of swap space is utilized (actually no big changes in memory usage from yesterday). If a larger machine is required then it is no problem, I can add more resources any time (Google compute engine here...). But I've tought i've met the requirements listed in wiki. asked 24 Oct '19, 08:56 igoras1993 |
It doesn't list all the nodes, just gives you a node ID every now and then. You seem to have processed about 10% of data in 20 hours so the whole import would take a bit over a week. I think your RAM is probably the reason why it's going slow. If you can allocate resources dynamically, give it 32 GB for the import and you can go down to 8 GB again after that has finished. answered 24 Oct '19, 09:04 Frederik Ramm ♦ Great! I will do that, thank You :) One more question: 60GB of disk space is enough? It seams like 80% is consumed just now. Should I upgrade disk space also (only europe needed)?
(24 Oct '19, 09:28)
igoras1993
I have a machine with an europe-wide Overpass database and it uses ~ 120 GB.
(24 Oct '19, 09:43)
Frederik Ramm ♦
Thank You very much!
(24 Oct '19, 09:50)
igoras1993
|