From bb165c1500a9cdf99e38bc61cebdfa04e57f11a8 Mon Sep 17 00:00:00 2001 From: Gerald Yang Date: Thu, 7 Jan 2021 03:04:02 +0000 Subject: [PATCH] [PATCH] Remove logging every slow request details to monitors recent change https://tracker.ceph.com/issues/43975 was made to slow request logging to include detail on each operation in the cluster logs. With this change, detail for every slow request is always sent to the monitors and added to the cluster logs. This does not scale. Large, high-throughput clusters can overwhelm their monitors with spurious logs in the event of a performance issue. Disrupting the monitors can then cause further instability in the cluster. This SRU reverts the cluster logging of every slow request the osd is processing. The slow request clog change was added in nautilus (14.2.10) and octopus (15.2.0). Signed-off-by: Gerald Yang Gbp-Pq: Name disable-log-slow-requests.patch --- src/osd/OSD.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 8dceddae3..373d12d6e 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -7780,7 +7780,6 @@ vector OSD::get_health_metrics() << " currently " << op.state_string(); lgeneric_subdout(cct,osd,20) << ss.str() << dendl; - clog->warn() << ss.str(); slow++; if (!oldest_op || op.get_initiated() < oldest_op->get_initiated()) { oldest_op = &op; -- 2.30.2