Snap trim queue length issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We recently ran into low disk space issues on our clusters, and it wasn't because of actual data. On those affected clusters we're hosting VMs and volumes, so naturally there are snapshots involved. For some time, we observed increased disk space usage that we couldn't explain, as there was discrepancy between what Ceph reported and actual space used on disks. We finally found out that snap trim queues were both long and not getting any shorter, and decreasing snap trim sleep and increasing max concurrent snap trims helped reversing the trend - we're safe now. The problem is, we haven't been aware of this issue for some time, and there's no easy (and fast[1]) way to check this. I made a pull request[2] that makes snap trim queue lengths available to monitoring tools and also generates health warning when things go out of control, so an admin can act before hell breaks loose.

My question is, how many Jewel users would be interested in a such feature? There's a lot of changes between Luminous and Jewel, and it's not going to be a straight backport, but it's not a big patch either, so I won't mind doing it myself. But having some support from users would be helpful in pushing this into next Jewel release.

Thanks!


[1] one of our guys hacked a bash oneliner that printed out snap trim queue lengths for all pgs, but full run takes over an hour to complete on a cluster with over 20k pgs...
[2] https://github.com/ceph/ceph/pull/19520

--
Piotr Dałek
piotr.dalek@xxxxxxxxxxxx
https://www.ovh.com/us/
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux