Project

General

Profile

Bug #20338

mem leak in Journaler::_issue_read() in ceph-mds

Added by Kefu Chai 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/19/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Component(FS):
Needs Doc:
No

Description

<error>
  <unique>0x24f</unique>
  <tid>1</tid>
  <threadname>ceph-mds</threadname>
  <kind>Leak_DefinitelyLost</kind>
  <xwhat>
    <text>27,232 bytes in 1,702 blocks are definitely lost in loss record 592 of 604</text>
    <leakedbytes>27232</leakedbytes>
    <leakedblocks>1702</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0x9C6919F</ip>
      <obj>/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>operator new(unsigned long)</fn>
    </frame>
    <frame>
      <ip>0x643416</ip>
      <obj>/usr/bin/ceph-mds</obj>
      <fn>Journaler::_issue_read(unsigned long)</fn>
      <dir>/build/ceph-12.0.3-1841-g8e4665d/src/osdc</dir>
      <file>Journaler.cc</file>
      <line>977</line>
    </frame>
    <frame>
      <ip>0x6439D6</ip>
      <obj>/usr/bin/ceph-mds</obj>
      <fn>Journaler::_prefetch()</fn>
      <dir>/build/ceph-12.0.3-1841-g8e4665d/src/osdc</dir>
      <file>Journaler.cc</file>
      <line>1057</line>
    </frame>
    <frame>
      <ip>0x384768</ip>
      <obj>/usr/bin/ceph-mds</obj>
      <fn>Context::complete(int)</fn>
      <dir>/build/ceph-12.0.3-1841-g8e4665d/src/include</dir>
      <file>Context.h</file>
      <line>70</line>
    </frame>
    <frame>
      <ip>0x64634A</ip>
      <obj>/usr/bin/ceph-mds</obj>
      <fn>void finish_contexts&lt;Context&gt;(CephContext*, std::__cxx11::list&lt;Context*, std::allocator&lt;Context*&gt; &gt;&amp;, int)</fn>
      <dir>/build/ceph-12.0.3-1841-g8e4665d/src/include</dir>
      <file>Context.h</file>
      <line>156</line>
    </frame>
    <frame>
      <ip>0x63C701</ip>
      <obj>/usr/bin/ceph-mds</obj>
      <fn>Journaler::_finish_flush(int, unsigned long, std::chrono::time_point&lt;ceph::time_detail::real_clock, std::chrono::duration&lt;unsigned long, std::ratio&lt;1l, 1000000000l&gt; &gt; &gt;)</fn>
      <dir>/build/ceph-12.0.3-1841-g8e4665d/src/osdc</dir>
      <file>Journaler.cc</file>
      <line>532</line>
    </frame>
    <frame>
      <ip>0x384768</ip>
      <obj>/usr/bin/ceph-mds</obj>
      <fn>Context::complete(int)</fn>
      <dir>/build/ceph-12.0.3-1841-g8e4665d/src/include</dir>
      <file>Context.h</file>
      <line>70</line>
    </frame>
    <frame>
      <ip>0x6D09BF</ip>
      <obj>/usr/bin/ceph-mds</obj>
      <fn>Context::complete(int)</fn>
      <dir>/build/ceph-12.0.3-1841-g8e4665d/src/include</dir>
      <file>Context.h</file>
      <line>70</line>
    </frame>
    <frame>
      <ip>0x6D09BF</ip>
      <obj>/usr/bin/ceph-mds</obj>
      <fn>Finisher::finisher_thread_entry()</fn>
      <dir>/build/ceph-12.0.3-1841-g8e4665d/src/common</dir>
      <file>Finisher.cc</file>
      <line>72</line>
    </frame>
    <frame>
      <ip>0xAA28709</ip>
      <obj>/lib/x86_64-linux-gnu/libpthread-2.23.so</obj>
      <fn>start_thread</fn>
      <dir>/build/glibc-Qz8a69/glibc-2.23/nptl</dir>
      <file>pthread_create.c</file>
      <line>333</line>
    </frame>
    <frame>
      <ip>0xBA0E82C</ip>
      <obj>/lib/x86_64-linux-gnu/libc-2.23.so</obj>
      <fn>clone</fn>
      <dir>/build/glibc-Qz8a69/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64</dir>
      <file>clone.S</file>
      <line>109</line>
    </frame>
  </stack>
</error>

History

#1 Updated by Kefu Chai 5 months ago

  • Project changed from Ceph to fs

#2 Updated by John Spray 5 months ago

Was there a teuthology run where this was happening?

#3 Updated by Zheng Yan 5 months ago

  • Status changed from New to Need Review

#4 Updated by John Spray 5 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF