Project

General

Profile

Actions

Bug #43436

closed

No memory limit in KStore::Collection::onode_map

Added by Chang Liu over 4 years ago. Updated almost 3 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
Category:
OSD
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Actions #1

Updated by Chang Liu over 4 years ago

channingliu 12-27 16:14
 (gdb) p this->onode_map
$3 = {cct = 0x7fec24f70000, lock = {<std::__mutex_base> = {_M_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, 
          __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, 
        __size = '\000' <repeats 39 times>, __align = 0}}, <No data fields>}, 
Python Exception <class 'gdb.error'> There is no member or method named _M_bbegin.: 
  onode_map = std::unordered_map with 9433 elements,

 ** onode_map = std::unordered_map with 9433 elements **

(gdb) call sizeof(Onode)
$5 = 512

coll_map = std::unordered_map with 388 elements,

in read-only workload, there are 9433 onode cache in a collection. and there are 388 collextions. so kstore uses almost 1.7GB memory.

Actions #2

Updated by Chang Liu over 4 years ago

  • Status changed from New to In Progress
  • Pull request ID set to 32446
Actions #3

Updated by Sage Weil almost 3 years ago

  • Status changed from In Progress to Won't Fix
Actions

Also available in: Atom PDF