Project

General

Profile

Bug #26901

mds: no throttlers set on incoming messages

Added by Sage Weil 4 months ago. Updated 3 months ago.

Status:
Verified
Priority:
High
Assignee:
-
Category:
Correctness/Safety
Target version:
Start date:
08/12/2018
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:

Description

This means aggressive clients can consume unbounded mds memory.

See mon/mgr/osd throttlers for comparison:

../src/ceph_mon.cc:  msgr->set_policy_throttlers(entity_name_t::TYPE_CLIENT,
../src/ceph_mon.cc:  msgr->set_policy_throttlers(entity_name_t::TYPE_OSD, daemon_throttler,
../src/ceph_mon.cc:  msgr->set_policy_throttlers(entity_name_t::TYPE_MDS, daemon_throttler,
../src/ceph_osd.cc:  ms_public->set_policy_throttlers(entity_name_t::TYPE_CLIENT,
../src/mgr/DaemonServer.cc:  msgr->set_policy_throttlers(entity_name_t::TYPE_CLIENT,
../src/mgr/DaemonServer.cc:  msgr->set_policy_throttlers(entity_name_t::TYPE_OSD,
../src/mgr/DaemonServer.cc:  msgr->set_policy_throttlers(entity_name_t::TYPE_MDS,
../src/mgr/DaemonServer.cc:  msgr->set_policy_throttlers(entity_name_t::TYPE_MON,

History

#1 Updated by Patrick Donnelly 4 months ago

  • Category set to Correctness/Safety
  • Assignee set to Zheng Yan
  • Target version set to v14.0.0
  • Source set to Development
  • Backport set to mimic,luminous
  • Component(FS) MDS added

#2 Updated by Patrick Donnelly 3 months ago

  • Assignee deleted (Zheng Yan)

Zheng was working on this as part of his efforts to sort client requests by priority but ran into issues. Will revisit this later.

Also available in: Atom PDF