Skip to content
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

Segmentation fault installing full planet #525

Open
alvasilvao opened this issue Jan 27, 2024 · 2 comments
Open

Segmentation fault installing full planet #525

alvasilvao opened this issue Jan 27, 2024 · 2 comments
Labels
bug resource problem Nominatim runs out of resources, either because the machine doesn't have enough or they are limited

Comments

@alvasilvao
Copy link

Describe the bug
While running the installation for full planet, I get an error called "segmentation fault".
For weeks, I have been trying to install the full planet. Using flatnode and shm-size have helped me overcome other problems that I have encountered, but now I am stuck with this one.

To Reproduce

I used this command:

docker run -it --shm-size=128G\

-v nominatim-flatnode:/nominatim/flatnode
-e PBF_URL=https://ftp5.gwdg.de/pub/misc/openstreetmap/planet.openstreetmap.org/pbf/planet-latest.osm.pbf
-e REPLICATION_URL=https://ftp5.gwdg.de/pub/misc/openstreetmap/planet.openstreetmap.org/replication/day/
-p 8080:8080
--name nominatim
mediagis/nominatim:4.3

Expected behavior
The installation shouldn't stop

Screenshots & Logs

/app/init.sh: line 88: 98 Segmentation fault sudo -E -u nominatim nominatim import --osm-file $OSMFILE --threads $THREADS
image

Desktop / Server (please complete the following information):

  • OS & Version: Ubuntu 22.04.3 LTS
  • Docker Version: 4.26.1
  • Nominatim Version: 4.3

Thanks in advance for your help!

@alvasilvao alvasilvao added the bug label Jan 27, 2024
@alvasilvao
Copy link
Author

Any leads on what to try in this case?
Thanks!

@leonardehrenfried leonardehrenfried added the resource problem Nominatim runs out of resources, either because the machine doesn't have enough or they are limited label Feb 6, 2024
@leonardehrenfried
Copy link
Collaborator

leonardehrenfried commented Feb 6, 2024

I believe it has to do with not enough ram or disk. I've added a tag and you can check other issues with the same one: https://github.com/mediagis/nominatim-docker/issues?q=label%3A%22resource+problem%22+

They might contain a clue about your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug resource problem Nominatim runs out of resources, either because the machine doesn't have enough or they are limited
Projects
None yet
Development

No branches or pull requests

2 participants