Project

General

Profile

Actions

Bug #3609

closed

mon: track down the Monitor's memory consuption sources

Added by Joao Eduardo Luis over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
Monitor
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Left a couple of monitors running overnight with heap profiling active.

Don't have the logs, as I wasn't expecting it to work (yet again) and had simply forgotten to kill the cluster.

This however produced some neat heap profiles that were finally usable -- my guess is that disabling -O2 and letting the monitors run free during the night helped a lot.

Now, the good stuff.

mon.b

Total: 337.4 MB
   337.4 100.0% 100.0%    337.4 100.0% ceph::buffer::create_page_aligned

[snip]

mon.c

Total: 2269.0 MB
  2269.0 100.0% 100.0%   2269.0 100.0% ceph::buffer::create_page_aligned

Note that in this case mon.b is the leader. At least it was supposed to be, unless something went awfully wrong and quorum was broken. I have no idea if that indeed happened, as I just killed them when I logged back into the server and noticed they were up.

By the way, this is running v0.55 (690f8175606edf37a3177c27a3949c78fd37099f).

Full heap profile attached.


Files

ceph-mon.profile.heap (11 KB) ceph-mon.profile.heap Joao Eduardo Luis, 12/12/2012 09:13 AM
mon-a.r01.ps (58.1 KB) mon-a.r01.ps Joao Eduardo Luis, 12/16/2012 04:30 AM
mon-b.r01.ps (66.4 KB) mon-b.r01.ps Joao Eduardo Luis, 12/16/2012 04:30 AM
mon-c.r01.ps (66.3 KB) mon-c.r01.ps Joao Eduardo Luis, 12/16/2012 04:30 AM

Related issues 1 (0 open1 closed)

Related to Ceph - Bug #3569: Monitor & OSD failures when an OSD clock is wrongCan't reproduce12/04/2012

Actions
Actions

Also available in: Atom PDF