Error: Could not save peer list to file: IO error: No file descriptors available (os error 24) #481
Labels
No labels
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#481
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi there,
We're currently running Garage (0.8.0) on our server, as of yet one node only, and after about a day the garage service has to be restarted because of the following error, which completely fills the logs:
Garage: 0.8.0 (linux/amd64)
Server OS: Debian 11
My knowledge of OS internals is quite limited, I have seen descriptions of raising the number of allowed file descriptors, but that seems like a temporary solution at best. Is this a configuration issue? Or a memory leak?
Help is appreciated!
Kind regards.
I just noticed a new version 0.8.1 is available. Could that solve the issue? Is that a drop in replacement, or should I follow the migration guide here too?
Also, our
garage.toml
:You do need to raise your file descriptor limit. It's not a temporary solution, there are some usage scenarios where these limits by default are simply too restrictive, especially for server software. See these two pages for Debian: https://wiki.debian.org/Limits, https://manpages.debian.org/bullseye/libpam-modules/limits.conf.5.en.html. In your case, the
nofile
limit has to be raised in/etc/security/limits.conf
Concerning upgrading to v0.8.1 from v0.8.0, there is nothing to do, just restart your garage daemon with the new version.