Re: How to reduce CephFS num_strays effectively?

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

 



Hi,

On 18.02.25 01:00, Jinfeng Biao wrote:
Hello Eugen and all,

Thanks for the reply. We’ve checked the SuSE doc before raising it twice. From 100k to 125k, then to 150k.

We are a  bit worried about the continuous growth of strays at 50K a day and would like to find an effective to reduce the strays.

Last night another 30K increase in the strays.


Just two comments:


1. Your ceph release is ancient and EOL. You should upgrade as soon as possible. Newer release also support more than 1 million strays.

2. The main source for strays are pending deleted files. If your workload is creating and deleting files over and over, you should adjust your workload (e.g. use local disk space for temporary files). But strays can also be created by _hardlinks_. And a number of widely used scientific workflow systems tend to use hardlinks for a lot of operations. You can try to reintegrate these strays e.g. by running a recursive find on the filesystem or scrub it (https://docs.ceph.com/en/latest/cephfs/scrub/). I would recommend to upgrade before running any of these checks.


Best regards,

Burkhard Linke

_______________________________________________
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