@ Niv Azriel  : What is your leveldb version and has it been fixed now?
@ Wido den Hollander : I also meet a similar problem:
                                        the size of my leveldb is about 
17GB(300+ osds), there are a lot of sst files(each sst file is 2MB) in 
/var/lib/ceph/mon. (a network abnormal situation once happened)
                                        The leveldb version is 1.2 (ubuntu 
12.04, ceph 0.94.5)

-----邮件原件-----
发件人: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] 代表 Wido den Hollander
发送时间: 2017年3月27日 19:30
收件人: ceph-users@lists.ceph.com; Niv Azriel
主题: Re: [ceph-users] leveldb takes a lot of space


> Op 26 maart 2017 om 9:44 schreef Niv Azriel <nivazr...@gmail.com>:
>
>
> after network issues, ceph cluster fails.
> leveldb grows and takes a lot of space ceph mon cant write to leveldb
> because there is not enough space on filesystem.
> (there is a lot of ldb file on /var/lib/ceph/mon)
>

It is normal that the database will grow as the MON will keep all historic 
OSDMaps when one or more PGs are not active+clean

> ceph compact on start is not helping.
> my erasure-code is too big.
>
> how to fix it?

Make sure you have enough space available on your MONs, that is the main 
advise. Under normal operations <2GB should be enough, but it can grow much 
bigger.

On most clusters I design I make sure there is at least 200GB of space 
available on each MON on a fast DC-grade SSD.

Wido

> thanks in advanced
>
> ceph version: jewel
> os : ubuntu16.04
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from H3C, 
which is
intended only for the person or entity whose address is listed above. Any use 
of the
information contained herein in any way (including, but not limited to, total 
or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify 
the sender
by phone or email immediately and delete it!
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to