View Issue Details

IDProjectCategoryView StatusLast Update
0016319CentOS-7gperfpublic2019-08-06 06:32
Reporterlianghongqi 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformaarch64OSLinuxOS Version4.14.0-115.8.1.e
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0016319: ceph-osd memory not release to os with tcmalloc of default pagesize 8k
Descriptionif the tcmalloc pagesize was set to 8k(default) , after ceph-osd runs for a few hours, memory has been growing all the time,about to 50% (200G).

But if the pagesize of tcmalloc set to 64k ,the ceph-osd memory usage was very low ,less then 1%.

1.ceph version
ceph version 14.2.2 (4f8fa0a0024755aae7d95567c63f11d6862d55be) nautilus (stable)
 
logs:
#ceph tell osd.0 heap stats
osd.0 tcmalloc heap stats:--------------------------------------------
MALLOC: 218059398608 (207957.6 MiB) Bytes in use by application
MALLOC: + 1090125824 ( 1039.6 MiB) Bytes in page heap freelist
MALLOC: + 87369096 ( 83.3 MiB) Bytes in central cache freelist
MALLOC: + 6830336 ( 6.5 MiB) Bytes in transfer cache freelist
MALLOC: + 24716200 ( 23.6 MiB) Bytes in thread cache freelists
MALLOC: + 915800064 ( 873.4 MiB) Bytes in malloc metadata
MALLOC: ------------
MALLOC: = 220184240128 (209984.1 MiB) Actual memory used (physical + s
MALLOC: + 0 ( 0.0 MiB) Bytes released to OS (aka unmappe
MALLOC: ------------
MALLOC: = 220184240128 (209984.1 MiB) Virtual address space used
MALLOC:
MALLOC: 13863556 Spans in use
MALLOC: 40 Thread heaps in use
MALLOC: 8192 Tcmalloc page size
------------------------------------------------
Steps To Reproduce1. start ceph service;
2. from cleint do 4k read ,write operations to the ceph server
3. monitor the memory usage by the ceph-osd process
Tagsceph
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-08-06 06:32 lianghongqi New Issue
2019-08-06 06:32 lianghongqi Tag Attached: ceph