Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

osmosis locks working directory while fetching the read-replication-lag #4463

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: wambacher
[Submitted to the original trac issue database at 3.27pm, Friday, 29th June 2012]

osmosis is trying to lock the working-directory even when i only want to get the replication-lag (read the state.txt).

Reason: That directory is 99% locked by another osmosis doing the differential update

result: can't read the lag from another instance of osmosis.

my dirty fix: copy state.txt to other directory and use that as working-directory to get the lag

doing that with munin but that does not matter.

Regards
walter

@openstreetmap-trac
Copy link
Author

Author: wambacher
[Added to the original trac issue at 10.09am, Saturday, 30th June 2012]

needs configuration.txt too

so i created 2 sym links in the second working-directory just to read the lag

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

No branches or pull requests

1 participant