From: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
To: ceph-devel@vger.kernel.org
Subject: Possible memory leak in mon?
Date: Thu, 03 May 2012 09:06:36 +0930 [thread overview]
Message-ID: <4FA1C504.2020006@bashkirtsev.com> (raw)
Dear devs,
I have three mons and two of them suddenly consumed around 4G of RAM
while third one happily lived with 150M. This immediately prompts few
questions:
1. What is expected memory use of mon? I believed that mon merely
directs clients to relevant OSDs and should not consume a lot of
resources - please correct me if I am wrong.
2. In both cases where mon consumed a lot of memory it was preceded by
disk-full condition and both machines where incidents happened are 64
bit, rest of cluster 32 bit. mon fs and log files happened to be in the
same partition - ceph osd produced a lot of messages, filled up disk,
mon crashed (no core as disk was full), manually deleted logs, restarted
mon without any issue, some time later found mon using 4G of RAM.
Running 0.45. Should I deliberately recreate conditions and crash mon to
get more debug info (if you need it of course, and if yes then what)?
3. Does figure 4G per process coming from 32 bit pointers in mon? Or mon
potentially can consume more than 4G?
4. I guess it is good idea to keep mon fs on separate partition so it
would not experience disk-full state. Currently it is around 80Mb while
whole ceph 42% full of 2100Gb with 6 OSDs and 600 pgs. Can you provide
some idea how to estimate mon fs size?
Regards,
Vladimir
next reply other threads:[~2012-05-02 23:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-02 23:36 Vladimir Bashkirtsev [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-05-02 23:52 Possible memory leak in mon? Vladimir Bashkirtsev
2012-05-02 22:49 Vladimir Bashkirtsev
2012-05-02 22:28 Vladimir Bashkirtsev
2012-05-03 0:22 ` Greg Farnum
2012-05-03 6:24 ` Vladimir Bashkirtsev
2012-05-03 6:53 ` Greg Farnum
2012-05-07 0:52 ` Vladimir Bashkirtsev
2012-05-07 0:53 ` Vladimir Bashkirtsev
2012-05-14 21:23 ` Gregory Farnum
2012-05-15 17:13 ` Gregory Farnum
2012-05-18 10:07 ` Vladimir Bashkirtsev
2012-05-21 18:18 ` Gregory Farnum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FA1C504.2020006@bashkirtsev.com \
--to=vladimir@bashkirtsev.com \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.