Skip to content

Commit 2d53c0a

Browse files
authored
Merge pull request #481 from tosi3k/oom-regex-fix
Adapt OOMKilling pattern to old and new Linux kernels
2 parents 33571a3 + 6b650e7 commit 2d53c0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/kernel-monitor-filelog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
"type": "temporary",
2222
"reason": "OOMKilling",
23-
"pattern": "Kill process \\d+ (.+) score \\d+ or sacrifice child\\nKilled process \\d+ (.+) total-vm:\\d+kB, anon-rss:\\d+kB, file-rss:\\d+kB.*"
23+
"pattern": "Killed process \\d+ (.+) total-vm:\\d+kB, anon-rss:\\d+kB, file-rss:\\d+kB.*"
2424
},
2525
{
2626
"type": "temporary",

config/kernel-monitor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{
2222
"type": "temporary",
2323
"reason": "OOMKilling",
24-
"pattern": "Kill process \\d+ (.+) score \\d+ or sacrifice child\\nKilled process \\d+ (.+) total-vm:\\d+kB, anon-rss:\\d+kB, file-rss:\\d+kB.*"
24+
"pattern": "Killed process \\d+ (.+) total-vm:\\d+kB, anon-rss:\\d+kB, file-rss:\\d+kB.*"
2525
},
2626
{
2727
"type": "temporary",

0 commit comments

Comments
 (0)