type: float
level: advanced
desc: decay rate for session readdir caps leading to readdir throttle
- long_desc: The half-life for the session cap acquisition counter of caps acquired
- by readdir. This is used for throttling readdir requests from clients slow to
- release caps.
- default: 10
+ long_desc: The half-life for the session cap acquisition counter of caps
+ acquired by readdir. This is used for throttling readdir requests from
+ clients.
+ default: 30
services:
- mds
flags:
- name: mds_session_cap_acquisition_throttle
type: uint
level: advanced
- desc: throttle point for cap acquisition decay counter
- default: 500000
+ desc: threshold at which the cap acquisition decay counter throttles
+ default: 100000
services:
- mds
- name: mds_session_max_caps_throttle_ratio
- mds
flags:
- runtime
+- name: mds_session_metadata_threshold
+ type: size
+ level: advanced
+ desc: Evict non-advancing client-tid sessions exceeding the config size.
+ long_desc: Evict clients which are not advancing their request tids which causes a large buildup of session metadata (`completed_requests`) in the MDS causing the MDS to go read-only since the RADOS operation exceeds the size threashold. This config is the maximum size (in bytes) that a session metadata (encoded) can grow.
+ default: 16_M
+ services:
+ - mds
+ flags:
+ - runtime