Risks of increasing mon_scrub_interval
Hi, I can't remember if this has been brought up before. Has anyone increased mon_scrub_interval (default 1 day)? We helped a customer this week who had several cluster outages due to mon scrubbing. Their mon database is quite large for a relatively small cluster, the main reason are looooots of "purged_snap" entries in the monitor's key value store(s). We could reduce the load by decreasing mon_scrub_max_keys which stabilized the cluster for a couple of days now. But since mon scrubbing runs daily I was thinking about setting the interval to 2 or 3 days to not cause this load daily. The risk of cause is that corruption discovery could take longer. Obviously, operators have been extending deep_scrub_interval for OSDs as well, but I feel like the mon store is even more critical. I'd appreciate any comments on that. Thanks! Eugen
In case anyone is interested in some more context regarding my question, I wrote a new blog post: https://heiterbiswolkig.blogs.nde.ag/2026/11/17/ceph-how-too-many-snapshots-... It's about an ongoing journey of one of our customers and how they've been affected by a lot of snapshots (as I already pointed out). The impact of monitor scrubbing is only the latest "adventure" and I feel like it's not going to be the last. Unfortunately, the tracker (https://tracker.ceph.com/issues/64519) was closed as resolved which must have been a mistake. Hopefully, the tracker will be re-opened and will get some more attention. Regards, Eugen Zitat von Eugen Block <eblock@nde.ag>:
Hi,
I can't remember if this has been brought up before. Has anyone increased mon_scrub_interval (default 1 day)?
We helped a customer this week who had several cluster outages due to mon scrubbing. Their mon database is quite large for a relatively small cluster, the main reason are looooots of "purged_snap" entries in the monitor's key value store(s). We could reduce the load by decreasing mon_scrub_max_keys which stabilized the cluster for a couple of days now. But since mon scrubbing runs daily I was thinking about setting the interval to 2 or 3 days to not cause this load daily. The risk of cause is that corruption discovery could take longer.
Obviously, operators have been extending deep_scrub_interval for OSDs as well, but I feel like the mon store is even more critical.
I'd appreciate any comments on that.
Thanks! Eugen
participants (1)
-
Eugen Block