From c149afb3d7f318f99149491f72b70eb43f91918b Mon Sep 17 00:00:00 2001 From: "an.groshev" Date: Tue, 17 Feb 2026 11:26:46 +0300 Subject: [PATCH] logrotate: send SIGHUP to ceph-exporter on log rotation ceph-exporter registers a SIGHUP handler that reopens its log files, but it was missing from the postrotate killall/pkill list. Without the signal, the daemon keeps an open fd to the already-rotated file and continues writing there, causing /var/log/ceph to fill up. Signed-off-by: an.groshev --- src/logrotate.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logrotate.conf b/src/logrotate.conf index a9a452dd6566..869ead830f44 100644 --- a/src/logrotate.conf +++ b/src/logrotate.conf @@ -4,7 +4,7 @@ compress sharedscripts postrotate - killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror" || true + killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror ceph-exporter || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror|ceph-exporter" || true endscript missingok notifempty -- 2.47.3