[Geocoding] Accidentally stopped Nominatim install - can it be resumed?

Simon Nuttall info at cyclestreets.net
Wed Jul 17 21:14:03 UTC 2013


On 16 July 2013 17:13, Sarah Hoffmann <lonvia at denofr.de> wrote:
> Hi Simon,
>
> On Tue, Jul 16, 2013 at 05:01:34PM +0100, Simon Nuttall wrote:
>> While viewing the output from...
>>
>> sudo -u ${username} ./utils/setup.php ${osm2pgsqlcache} --osm-file
>> /home/${username}/Nominatim/data/${osmdatafolder}${osmdatafilename}
>>
>> by mistake I hit Control-C - this was about a week into the
>> installation of a europe wide Nominatim on a 32GB VM.
>>
>>
>> Is it possible to resume from where it left off? And if so - how!
>>
>> Last output was:
>>
>>   Done 3019045 in 43599 @ 69.245743 per second - Rank 30 ETA
>> (seconds): 349381.250000
>> ^C
>> root at nominatim:~/src/nominatim-install#
>
> Yes, that is possible at this stage. Use the following command to
> finish the remaining stages:
>
> ./utils/setup.php --index --index-noanalyse --create-search-indices

Many thanks that did work.

>
> NB: indexing seems to be very slow for a 32GB VM. Is it possible
> that you gave the VM only a single CPU? Indexing can be nicely parallized,
> the more CPUs the better.

Our VM has been rebooted with and additonal CPU allocated following your advice.

Processing is I/O bound, I don't know if this output tells you anything:

  Done 1826710 in 21280 @ 85.841637 per second - Rank 30 ETA
(seconds): 185792.109375

Simon



More information about the Geocoding mailing list