Actions
Feature #54525
openosd/mon: log memory usage during tick
Status:
Fix Under Review
Priority:
High
Assignee:
-
Category:
Introspection/Control
Target version:
% Done:
0%
Source:
Development
Backport:
squid
Reviewed:
Affected Versions:
Component(RADOS):
Monitor, OSD
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
Tags:
Description
The MDS has a nice feature that it prints out the rss and other memory stats every couple seconds at debug level 2.
2022-03-10T22:13:50.779+0100 7f00f85aa700 2 mds.0.cache Memory usage: total 6652188, rss 5644928, heap 331992, baseline 307416, 599334 / 1484019 inodes have caps, 629138 caps, 0.423942 caps per inode
Similar logging for the OSD (and MON, less urgently) would be ultra useful when debugging things like #53729
The MDS uses a MemoryModel class, see MDCache::check_memory_usage, so this should be pretty easy to copy.
Updated by Laura Flores almost 4 years ago
Areas to add this type of logging would be OSD::tick() and Monitor::tick().
Updated by Laura Flores almost 4 years ago
- Status changed from New to In Progress
- Assignee set to Laura Flores
Updated by Laura Flores over 2 years ago
- Tags set to low-hanging-fruit
- Status changed from In Progress to New
Updated by junxiang mu almost 2 years ago
Updated by Patrick Donnelly almost 2 years ago
- Category set to Introspection/Control
- Target version set to v20.0.0
- Source set to Development
- Backport set to squid
- Pull request ID set to 56812
Updated by Neha Ojha over 1 year ago
- Status changed from New to Fix Under Review
Updated by Patrick Donnelly over 1 year ago
- Pull request ID changed from 56812 to 54698
Actions