Filtering oom messages from dmesg

Issues related to applications and software problems and general support
Post Reply
javanree
Posts: 6
Joined: 2007/04/15 15:28:02
Location: Netherlands
Contact:

Filtering oom messages from dmesg

Post by javanree » 2021/02/19 18:26:01

Good evening
On an HPC cluster we're seeing loads (1000's per day!) of messages in dmesg like

[7334831.784292] updating oom_score_adj for 2912245 (cmd) from 0 to 0 because it shares mm with 2912228 (cmd). Report if this is unexpected.

I'm trying to filter them out but no luck so far. The following line in rsyslog.conf doesn't work :

if $programname == 'kernel' and $msg contains 'updating oom_score_adj' then stop

Any suggestions ?

Post Reply

Return to “CentOS 8 - General Support”