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

Lock files are not deleted when docker container is stopped #8

Closed
alhafoudh opened this issue Apr 4, 2017 · 6 comments · Fixed by #9
Closed

Lock files are not deleted when docker container is stopped #8

alhafoudh opened this issue Apr 4, 2017 · 6 comments · Fixed by #9

Comments

@alhafoudh
Copy link

When I stop docker barman container, lock files are not cleared

-rw------- 1 lxd  lxd     4 Apr  4 13:43 .postgresql.postgresql.rancher.internal-archive-wal.lock
-rw------- 1 lxd  lxd     4 Apr  4 13:43 .postgresql.postgresql.rancher.internal-cron.lock
-rw------- 1 lxd  lxd     4 Apr  4 13:29 .postgresql.postgresql.rancher.internal-receive-wal.lock
-rw------- 1 lxd  lxd     4 Apr  4 13:43 .postgresql.postgresql.rancher.internal-xlogdb.lock
rsilva4-zz pushed a commit that referenced this issue Apr 4, 2017
closes #5, closes #8, closes #7

Lock files kept in `/tmp` dir and cleaned up on container startup. Duplicate `cron` for `barman cron` removed.
Major refactor on exporter. Maybe Prometheus scrape interval should be in ten 5-10 minute range. Will evaluate.
@alhafoudh
Copy link
Author

Wow! Thanks

@alhafoudh
Copy link
Author

alhafoudh commented Apr 4, 2017

Can you please also make a release so there is a tagged image with version available on docker hub?

@rsilva4-zz
Copy link
Contributor

@alhafoudh sure, I'm testing the latest tag against my production environment and I just catch #11 which is still being built:

image

Afterwards, if all looks good, a new tagged release will be available. I will be switching to a branch based image testing strategy so latest is always as stable as possible.

@alhafoudh
Copy link
Author

Great, thanks

@rsilva4-zz
Copy link
Contributor

Done v0.9.2. Did you fin the image useful? Feel free to share your feedback and suggestions.

@alhafoudh
Copy link
Author

Yes, I just upgraded. I am building the environment right now, so I will see in production how it goes. I used WAL-E until now.

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

Successfully merging a pull request may close this issue.

2 participants