Actions
Feature #54525
openosd/mon: log memory usage during tick
% Done:
0%
Source:
Development
Tags:
Backport:
squid
Reviewed:
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 about 2 years ago
Areas to add this type of logging would be OSD::tick() and Monitor::tick().
Updated by Laura Flores about 2 years ago
- Status changed from New to In Progress
- Assignee set to Laura Flores
Updated by Laura Flores 8 months ago
- Translation missing: en.field_tag_list set to low-hanging-fruit
- Status changed from In Progress to New
Updated by Patrick Donnelly 17 days 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
Actions