Project

General

Profile

Bug #18407

multisite: memory leak in RGWCloneMetaLogCoroutine::state_store_mdlog_entries()

Added by Casey Bodley 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/03/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
jewel, kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

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

Related to Bug #18414: multisite: memory leak from RGWSimpleRadosLockCR::send_request() Resolved 01/04/2017
Copied to Backport #18560: jewel: multisite: memory leak in RGWCloneMetaLogCoroutine::state_store_mdlog_entries() Resolved
Copied to Backport #18561: kraken: multisite: memory leak in RGWCloneMetaLogCoroutine::state_store_mdlog_entries() Resolved

History

#1 Updated by Casey Bodley 3 months ago

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

#2 Updated by Casey Bodley 3 months ago

  • Status changed from New to Pending Backport

#3 Updated by Nathan Cutler 3 months ago

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

#4 Updated by Nathan Cutler 3 months ago

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

#5 Updated by Nathan Cutler 3 months ago

  • Backport changed from jewel kraken to jewel, kraken

#6 Updated by Nathan Cutler 3 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF