-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem installing Nominatim with France pbf #580
Comments
Hi @blaurent49 For France latest, 175GB should be enough 😉 Depending on your RAM / CPU, it can take many hours. |
@blaurent49 |
What can I look, more precisely? |
@blaurent49 Also, have you run the 'df -h' command from inside the nominatim container? |
Hello,
That wasn't a Nominatim related problem. It came from Docker: the containers by default have a shared memory (/dev/shm) size of 64MB. The important part in my command is: After that, I could install Nominatim. I didn't time precisely but it may have taken 24h. At least, it's a victory! |
Thanks @blaurent49, I also had an error at this step with a error message that was not helping. |
Interesting, it's in the default options recommend in the docker documentation but I didn't know it would return a storage issue. Good find! |
Describe the bug
Hello,
I tried to install Nominatim on a Debian VM (500 GB of hard disk available) via Docker with the France-latest.osm.pbf file previously downloaded from https://download.geofabrik.de/europe/.
Here is the command I used:
sudo docker run -it
-e PBF_PATH=/nominatim/data/france-latest.osm.pbf
-e REPLICATION_URL=https://download.geofabrik.de/europe/france-updates/
-e POSTGRES_SHARED_BUFFERS=2GB
-e POSTGRES_WORK_MEM=64MB
-e POSTGRES_MAINTENANCE_WORK_MEM=1GB
-p 8001:8080
-v $PWD:/nominatim/data
--name nominatim
mediagis/nominatim:4.4
The process started perfectly. It has been running for hours (at least 10h !) until encoutering the following error:
psycopg2.errors.Diskfull: could not resize shared memory segment "/PostgreSQL.4111479138" to 50438144 bytes: No space left on device.
I don't understand the space problem because the VM has 500 GB of hard disk available.
I tried to check the posgresql.conf file but the shared_buffers, work_mem and maintenance_work_mem are in comments or at their default value. How can I be sure that the environnement variables are taken into account?
Am I doing something wrong?
Thank you in advance for your help.
Screenshots & Logs
Desktop / Server (please complete the following information):
The text was updated successfully, but these errors were encountered: