Project

General

Profile

Bug #4680

mds: log possibly not trimming

Added by Greg Farnum almost 11 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Apparently there are a lot of old files showing up in the log replay, and I noticed previously on a different issue that the log was quite large. Make sure it's trimming the LogSegments.
http://elbandi.net/ceph/mds.quadcore4.log.gz

History

#1 Updated by Sam Lang almost 11 years ago

I've seen it trim logs in the tests I've been running, but that's with mds_log_segment_size=16K and mds_log_max_segments=1. So the issue here might be that we want to adjust default config values.

#2 Updated by Greg Farnum almost 11 years ago

Yeah, it's not a generic never trimming; just not certain about this one. It could also be fine and just that there's been so little activity it's not trimming, but I want to take a few minutes to check.

#3 Updated by Zheng Yan almost 11 years ago

  • Status changed from New to Closed

2013-03-28 10:27:35.154461 7f1fc96b8700 10 mds.0.log trim 2 / 30 segments, 10 / -1 events, 0 (0) expiring, 0 (0) expired

only 2 segments

2013-03-28 10:25:18.457573 7f1fcb8be700 1 mds.0.3 replay_start
...
2013-03-28 10:25:32.586122 7f1fcb8be700 1 mds.0.3 active_start

only took 14 seconds to recovery

Looks like there were a little activities.

#4 Updated by Greg Farnum over 7 years ago

  • Component(FS) MDS added

Also available in: Atom PDF