-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Excessive Freespace Fragmentation on XFS #7034
Comments
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the |
This issue was closed because it has been stalled for 5 days with no activity. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the |
This issue was closed because it has been stalled for 5 days with no activity. |
This was improved with #7852 |
Bug Report
Describe the bug
fluent-bit can cause excessive freespace fragmentation on XFS in some circumstances.
To Reproduce
elasticsearch-master
is a non-existent host).You would expect the disk to eventually fill up, but well before that occurs the freespace gets so fragmented that XFS can't dynamiclly allocate new inodes and you are unable to create new files on disk.
Expected behavior
The flb files should be written to disk in an un-fragmented way and overall freespace fragmentation should not increase.
Screenshots
You will eventually reach a point where you have both free space and inodes free, but can no longer write files.
Note: inodes are actually the issue,
df -i
will report the maximum potential number of inodes but they are dynamically allocated and can no longer be created due to no contiguous extent being large enough for a block of indoes.If the disk didn't have excessive free space fragmentation, the distribution of free extents would look more like this with the majority of space being in large contiguous chunks:
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: