I am currently importing a bz2 country file into PostgreSQL 9.1 database for Nominatim 2 using its setup.php that runs osm2pgsql.
After processing the nodes. it seems to be stuck at a certain spot for hours without any changes and both CPU/memory usage for the server went down to idle levels.
Any idea what happened? The full output can be found here.
Output Snippet
addgeometrycolumn
--------------------------------------------------------------------------
public.import_polygon_error.prevgeometry SRID:4326 TYPE:GEOMETRY DIMS:2
(1 row)
addgeometrycolumn
-------------------------------------------------------------------------
public.import_polygon_error.newgeometry SRID:4326 TYPE:GEOMETRY DIMS:2
(1 row)
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE INDEX
CREATE TABLE
ALTER TABLE
Partitions