Project

General

Profile

Actions

Bug #37507

closed

osd_memory_target: failed assert when options mismatch

Added by Dan van der Ster over 5 years ago. Updated over 5 years ago.

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

0%

Source:
Community (user)
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We tried setting osd_memory_target to 1GB and this results in the following assertion early after startup:

     0> 2018-12-03 11:55:31.049163 7f46c91cc700 -1 /home/jenkins-build/build/workspace/ceph-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/12.2.10/rpm/el7/BUILD/ceph-12.2.10/src/os/bluestore/BlueStore.cc: In function 'void BlueStore::MempoolThread::_balance_cache(const std::list<PriorityCache::PriCache*>&)' thread 7f46c91cc700 time 2018-12-03 11:55:31.047247
/home/jenkins-build/build/workspace/ceph-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/12.2.10/rpm/el7/BUILD/ceph-12.2.10/src/os/bluestore/BlueStore.cc: 3488: FAILED assert(mem_avail >= 0)

 ceph version 12.2.10 (177915764b752804194937482a39e95e0ca3de94) luminous (stable)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x110) [0x5597ce4fb7b0]
 2: (()+0x8fc754) [0x5597ce357754]
 3: (BlueStore::MempoolThread::entry()+0x332) [0x5597ce35bc72]
 4: (()+0x7e25) [0x7f46d3a81e25]
 5: (clone()+0x6d) [0x7f46d2b72bad]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Perhaps we should more gracefully enforce a min practical value? Also the docs don't seem to mention any min usable value? http://docs.ceph.com/docs/master/rados/configuration/bluestore-config-ref/?highlight=osd%20memory%20target#automatic-cache-sizing


Related issues 2 (0 open2 closed)

Copied to RADOS - Backport #37697: luminous: osd_memory_target: failed assert when options mismatchResolvedNathan CutlerActions
Copied to RADOS - Backport #37698: mimic: osd_memory_target: failed assert when options mismatchResolvedNathan CutlerActions
Actions

Also available in: Atom PDF