[Talk-de] Postgres-Speicher bei planet-Import

Fabian Schmidt fschmidt at informatik.uni-leipzig.de
Mo Feb 9 17:19:51 UTC 2009


Hallo,

ich moechte die planet.osm in eine Postgis-DB importieren. Leider frisst 
Postgres saemtlichen zur Verfuegung stehenden Speicher auf. Gibt es 
irgendein bekanntes Problem mit Postgres/Postgis, was das verursacht?

Das Postgres hat die Version 8.3.5, der Rechner hat 8 GB Ram und 24 GB 
Swap. osm2pgsql läuft mit -s auf einer anderen Maschine und meldete:

...
Mid: pgsql, scale=100, cache=800MB, maxblocks=102401*8192
Setting up table: planet_osm_nodes
*** WARNING: intarray contrib module not installed
*** The resulting database will not be usable for applying diffs.
...
Reading in file: planet-latest.osm.bz2
Processing: Node(302135k) Way(328k) Relation(0k)WARNING:  terminating 
connection because of crash of another server process
DETAIL:  The postmaster has commanded this server process to roll back the 
current transaction and exit, because another server process exited 
abnormally and possibly corrupted shared memory.

/var/log/messages:
UVM: pid 376 (postgres), uid 1001 killed: out of swap


Viele Gruesse,

Fabian.


Mehr Informationen über die Mailingliste Talk-de