Actions
Subtask #9890
closedBug #9889: mon: leveldb weirdness
mon: VIRT usage 2.4G larger than tcmalloc's VIRT stats (dumpling, centos6.3)
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
- centos 6.3
- ceph version 0.67.11 (bc8b67bef6309a32361be76cd11fb56b057ea9d2)
- Stressing the monitors with qa/workunits/mon/workloadgen.sh without cleanup
while [ 1 ]; do LOADGEN_NUM_OSDS=20 DURATION=120 ./mon_workloadgen.sh || break ; done
which eventually results in lots of osds down/out and significantly large OSDMaps (2.6MB map for 4431 osds).
- Running a loop of 'ceph log foo' with 10 parallel jobs.
- No mon thrashing involved.
'top' reports a 2.5GB VIRT usage for any of the monitors, 90MB RES.
'ceph heap stats':
[ubuntu@vpm090 ~]$ ceph tell mon.a heap stats mon.atcmalloc heap stats:------------------------------------------------ MALLOC: 10122344 ( 9.7 MiB) Bytes in use by application MALLOC: + 7536640 ( 7.2 MiB) Bytes in page heap freelist MALLOC: + 14149264 ( 13.5 MiB) Bytes in central cache freelist MALLOC: + 20772480 ( 19.8 MiB) Bytes in transfer cache freelist MALLOC: + 13545096 ( 12.9 MiB) Bytes in thread cache freelists MALLOC: + 1264792 ( 1.2 MiB) Bytes in malloc metadata MALLOC: ------------ MALLOC: = 67390616 ( 64.3 MiB) Actual memory used (physical + swap) MALLOC: + 62062592 ( 59.2 MiB) Bytes released to OS (aka unmapped) MALLOC: ------------ MALLOC: = 129453208 ( 123.5 MiB) Virtual address space used MALLOC: MALLOC: 1555 Spans in use MALLOC: 13 Thread heaps in use MALLOC: 32768 Tcmalloc page size ------------------------------------------------
Actions