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

Supervisor integration #318

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

CvekCoding
Copy link

I faced the problem with updating the maps.
The process nominatim replication --project-dir /nominatim works some time and then crashes.
So I've added supervisor to wrap replication process to make it stable.

CvekCoding and others added 2 commits April 10, 2022 11:29
Improve docker-compose configs
Update Readme
@leonardehrenfried
Copy link
Collaborator

I must admit I'm not enthusiastic about adding a supervising wrapper around the update process since nominatim itself has some logic to retry.

I'd much rather fix the underlying problem of the crashes. Could you say a bit more about this?

@MichaelKorn
Copy link

I have similar observations on a world instance with daily updates. Each one or two months I realize in the UI that the instance is outdated (no update since a few days). Then I trigger the replication via docker exec nominatim bash -c "cd /nominatim && sudo -E -u nominatim nominatim replication" and it is fine again for a few weeks/months.
So far I haven't been able to find a cause, unfortunately there seem to be no logs for the update mechanism.

Please note: This problem is independent of the current issue of failing updates with version 4.2.2 (osm-search/Nominatim#3022).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants