Project

General

Profile

Actions

Bug #53485

open

monstore: logm entries are not garbage collected

Added by Daniel Poelzleithner over 2 years ago. Updated almost 2 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We had to run a ceph cluster with a damaged cephfs for a while that got deleted already. We suspect this was the culpit, but we experienced heavy growth on the
ceph-mon database. Our small 6 server cluster already has a 45 GB monstore.

ceph-monstore-tool /var/lib/ceph/mon/ceph-server6/ dump-keys | awk '{print $1}' | uniq -c                                                                        
    147 auth
      2 config
     11 health
1546347 logm
      2 mkfs
      3 mon_sync
      7 monitor
      1 monitor_store
   2459 paxos
      ...                                                                                                    

There seems to be no limit in place for the number of logm messages stored, nor seems there be a garbage collection mechanism. Partially, the monstore was growing so fast, that we feared
that the server runs out of storage just by logm spam.

Actions

Also available in: Atom PDF