-
Notifications
You must be signed in to change notification settings - Fork 36
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
Does not always remove lock file when stopped #57
Comments
I've just encountered this same issue a couple of days ago too, for the first time. |
The lock file contains a hostname, which apparently does not always persist.
Please try to test this theory and report back! This had been bugging me for a while. |
Processes that are hard killed (by |
Well of course, I know what killing means in Linux. Anyways, in various situations Podman will forcefully terminate the container after ten seconds instead of waiting for it to stop gracefully. But I just did it this way to artificially trigger the problem. It seems rtorrent can manage the lockfile just fine, but the hostname must be static. If not specified, on docker or podman Setting a hostname manually worked for me, so I'm mostly asking to see if it was a fluke. |
I wasn't responding to you specifically, just trying to provide more context on why this also might happen from a regular
The information rtorrent uses to check if the lockfile belongs to someone else is the hostname and PID (the lock file is in plaintext, you can just |
that's nice, because the file always says but then again it also probably has to do with how absurdly minimal the container is. you can't even run |
I frequently have an issue where rtorrent does not remove its lock file when stopping (running in Docker), meaning that next time it starts I get the "could not lock session directory" error and have to manually remove the lock file and restart the container.
The text was updated successfully, but these errors were encountered: