Open jpan127 opened 6 years ago
Hi @jpan127
Thanks for the report. The second issue is https://github.com/pelias/geonames/issues/26. There's a workaround listed there but it's also an intermittent issue and may go away if you try again.
For the first one, the only thing I currently know of that causes this issue is running out of memory. The continent
worker is probably the smallest in terms of memory footprint, but it could still be killed if your system is running out of memory. Do you see any indication that this is the case? You should be able to see lines in the output of dmesg
indicating that Linux is looking for processes to terminate.
Other than that, what version of the code are you using? Those errors were changed to warnings in a recent update, to better indicate the nature of the message. Let me know if using the latest code from the master branch helps.
Workaround you posted worked. I downloaded the file, unzipped, rezipped, then ran npm start
and it imported without error.
I currently only have 8GB allocated for my VM, maybe that is too little? Other processes maybe take up 2GB out of it. I will reattempt failure later with dmesg
.
I am using the most up to date in production. 44bd67289bb153a149156413f42a8fc1d3afc5f0
Importing ALL
I am trying to run an import for geonames using
npm start
. It runs fine for ~10 minutes then always eventually crashes.There are these errors when it starts running but I ignored it because the documentation said there is no dependency on wof or any other imporeter:
Importing US
Running the geonames importer for
US
actually throws a different error which made me go withALL
.Extra details
Node : 10.9.0 NPM : 6.2.0 Elasticsearch : 2.4.6 Ubuntu 16.04 My config: