Bug 1943357

Summary: monitor db can fill up with cluster log messages
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Josh Durgin <jdurgin>
Component: RADOSAssignee: Aishwarya Mathuria <amathuri>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: high Docs Contact:
Priority: high    
Version: 4.2CC: akupczyk, bhubbard, ceph-eng-bugs, jbasquil, lema, muagarwa, nojha, owasserm, pdhiran, rzarzyns, sseshasa, tserlin, vumrao
Target Milestone: ---   
Target Release: 5.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-16.2.0-22.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1955218 (view as bug list) Environment:
Last Closed: 2021-08-30 08:29:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1955218    

Description Josh Durgin 2021-03-25 21:12:15 UTC
Description of problem:
When there are a large number of messages sent to the cluster log, such as slow ops warnings, the monitors can grow their db and fill up their disk. This occurs when the ingest rate of log messages is greater than the paxos_service_trim_max, which defaults to 500 entries - at this point logs are stored faster than they are deleted, and the store grows continuously.

Version-Release number of selected component (if applicable):
Any

How reproducible:
Always

Steps to Reproduce:
1. Set paxos_service_trim_min = 10 and paxos_service_trim_max = 100
2. Generate slow ops on a cluster by running I/O and setting the slow ops threshold very low (e.g. osd_op_complaint_time = 0.001).

Actual results:
mon db grows continuously

Expected results:
mon db should not grow continuously

Additional info:

Comment 11 errata-xmlrpc 2021-08-30 08:29:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3294

Comment 12 lema 2023-12-14 21:56:30 UTC
*** Bug 2253738 has been marked as a duplicate of this bug. ***