Project

General

Profile

Actions

Bug #7172

closed

osd: OSD failed to start with osd_leveldb_cache_size > 0

Added by Xiangyu Lv over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
OSD
Target version:
-
% Done:

90%

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

Description

After applying osd_leveldb_cache_size = 52428800 on an OSD host, 2 ~ 3 OSDs on
the host failed to start due to the following crashing pattern:

-2> 2014-01-13 04:37:03.537958 7fb52657a700 20 journal write_thread_entry
woke up
-1> 2014-01-13 04:37:03.537978 7fb52657a700 10 journal write_thread_entry
finish
0> 2014-01-13 04:37:03.538914 7fb52853e700 -1 ** Caught signal
(Segmentation fault) *

in thread 7fb52853e700
ceph version 0.67.4-85-gc117914 (c117914b3d174aade9e6ceb9a0ca418dd6d73b60)
1: /usr/bin/ceph-osd() [0x80d2d9]
2: /lib64/libpthread.so.0() [0x3eba20f500]
3: (leveldb::InternalFilterPolicy::CreateFilter(leveldb::Slice const*, int,
std::string*) const+0x51) [0x3de3c22031]
4: (leveldb::FilterBlockBuilder::GenerateFilter()+0x13c) [0x3de3c35ccc]
5: (leveldb::FilterBlockBuilder::StartBlock(unsigned long)+0x30)
[0x3de3c35da0]
6: (leveldb::TableBuilder::Flush()+0xa2) [0x3de3c39292]
7: (leveldb::TableBuilder::Add(leveldb::Slice const&, leveldb::Slice
const&)+0x1cf) [0x3de3c3952f]
8:
(leveldb::DBImpl::DoCompactionWork(leveldb::DBImpl::CompactionState*)+0x5a8)
[0x3de3c1dd38]
9: (leveldb::DBImpl::BackgroundCompaction()+0x251) [0x3de3c1e531]
10: (leveldb::DBImpl::BackgroundCall()+0x90) [0x3de3c1ec50]
11: /usr/lib64/libleveldb.so.1() [0x3de3c3dc6f]
12: /lib64/libpthread.so.0() [0x3eba207851]
13: (clone()+0x6d) [0x3eb9ee890d]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to
interpret this.
Actions

Also available in: Atom PDF