Project

General

Profile

Actions

Bug #18407

closed

multisite: memory leak in RGWCloneMetaLogCoroutine::state_store_mdlog_entries()

Added by Casey Bodley over 7 years ago. Updated about 7 years ago.

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

0%

Source:
Tags:
Backport:
jewel, kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

from http://qa-proxy.ceph.com/teuthology/sage-2016-12-26_18:32:29-rgw-wip-sage-testing---basic-smithi/668021/remote/smithi031/log/valgrind/client.1.log.gz:

    <frame>
      <ip>0x3D1333</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>RGWCoroutinesManager::create_completion_notifier(RGWCoroutinesStack*)</fn>
      <dir>/usr/src/debug/ceph-11.1.0-6257-gd4000dd/src/rgw</dir>
      <file>rgw_coroutine.cc</file>
      <line>641</line>
    </frame>
    <frame>
      <ip>0x56E00B</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>RGWCloneMetaLogCoroutine::state_store_mdlog_entries()</fn>
      <dir>/usr/src/debug/ceph-11.1.0-6257-gd4000dd/src/rgw</dir>
      <file>rgw_sync.cc</file>
      <line>2172</line>
    </frame>
    <frame>
      <ip>0x573B1C</ip>
      <obj>/usr/bin/radosgw</obj>
      <fn>RGWCloneMetaLogCoroutine::operate()</fn>
      <dir>/usr/src/debug/ceph-11.1.0-6257-gd4000dd/src/rgw</dir>
      <file>rgw_sync.cc</file>
      <line>2044</line>
    </frame>

this coroutine was interrupted by shutdown, according to http://qa-proxy.ceph.com/teuthology/sage-2016-12-26_18:32:29-rgw-wip-sage-testing---basic-smithi/668021/remote/smithi031/log/rgw.client.1.log.gz:

2016-12-26 21:03:55.100740 34a62700 20 cr:s=0x75636920:op=0x73dd9e00:24RGWCloneMetaLogCoroutine: operate()
2016-12-26 21:03:55.100785 34a62700 20 meta sync: operate: shard_id=17: receiving rest response
2016-12-26 21:03:55.109691 34a62700 20 meta sync: remote mdlog, shard_id=17 num of shard entries: 2
2016-12-26 21:03:55.109765 34a62700 20 cr:s=0x75636920:op=0x73dd9e00:24RGWCloneMetaLogCoroutine: operate()
2016-12-26 21:03:55.109807 34a62700 20 meta sync: operate: shard_id=17: storing mdlog entries
2016-12-26 21:03:55.109854 34a62700 20 meta sync: entry: name=bar.client.0
2016-12-26 21:03:55.109977 34a62700 20 meta sync: entry: name=bar.client.0
2016-12-26 21:03:55.111254 34a62700 20 run: stack=0x75636920 is io blocked
2016-12-26 21:03:55.143881 34a62700  0 ERROR: failed to clone shard, completion_mgr.get_next() returned ret=-125
2016-12-26 21:03:55.144840 34a62700  5 run(): was stopped, exiting
2016-12-26 21:03:55.145742 34a62700 20 clearing stack on run() exit: stack=0x17ed9aa0 nref=2
2016-12-26 21:03:55.146733 34a62700 20 clearing stack on run() exit: stack=0x17ed9db0 nref=2
2016-12-26 21:03:55.146768 34a62700 20 clearing stack on run() exit: stack=0x17eee330 nref=2
2016-12-26 21:03:55.146795 34a62700 20 clearing stack on run() exit: stack=0x17eeeb70 nref=3

Related issues 3 (0 open3 closed)

Related to rgw - Bug #18414: multisite: memory leak from RGWSimpleRadosLockCR::send_request()Resolved01/04/2017

Actions
Copied to rgw - Backport #18560: jewel: multisite: memory leak in RGWCloneMetaLogCoroutine::state_store_mdlog_entries()ResolvedAlexey SheplyakovActions
Copied to rgw - Backport #18561: kraken: multisite: memory leak in RGWCloneMetaLogCoroutine::state_store_mdlog_entries()ResolvedActions
Actions #1

Updated by Casey Bodley over 7 years ago

  • Related to Bug #18414: multisite: memory leak from RGWSimpleRadosLockCR::send_request() added
Actions #2

Updated by Casey Bodley over 7 years ago

  • Status changed from New to Pending Backport
Actions #3

Updated by Nathan Cutler over 7 years ago

  • Copied to Backport #18560: jewel: multisite: memory leak in RGWCloneMetaLogCoroutine::state_store_mdlog_entries() added
Actions #4

Updated by Nathan Cutler over 7 years ago

  • Copied to Backport #18561: kraken: multisite: memory leak in RGWCloneMetaLogCoroutine::state_store_mdlog_entries() added
Actions #5

Updated by Nathan Cutler over 7 years ago

  • Backport changed from jewel kraken to jewel, kraken
Actions #6

Updated by Nathan Cutler about 7 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF