How to reduce CephFS num_strays effectively?

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

 



Hello folks,

We had an issue with the num_strays hit 1 million recently. As a workaround, max bal was increased to 125,000.

The stray_num keeps growing at 25k per day.  After a recent observation of 10TiB file deletion,  the relevant application was stopped.

Then we increased purging options to below values

  mds            advanced filer_max_purge_ops                            40
  mds            advanced mds_max_purge_files                           1024
  mds            advanced mds_max_purge_ops                            32768
  mds            advanced mds_max_purge_ops_per_pg              3

And run "du -hsx" to the top level directory mounted to the app that does massive deletion.

Despite all above, strays still growing at 60K per day.

There are a lot more applications using this CephFS filesystem  and only this app is observed perform deletion at this scale. 

I'm wondering what would be the effective way to cleanup the strays in this situation  while making the least impact to production.

Note: We are on 14.2.6 

thanks
James Biao
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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