Skip to content

Commit 659f31c

Browse files
Jan Heidbrinkjheidbrink
authored andcommitted
Adapt OOMKilling pattern to current kernels
1 parent 6204ad7 commit 659f31c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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": "Kill process \\d+ (.+) score \\d+ or sacrifice child\\nKilled 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
@@ -18,7 +18,7 @@
1818
{
1919
"type": "temporary",
2020
"reason": "OOMKilling",
21-
"pattern": "Kill process \\d+ (.+) score \\d+ or sacrifice child\\nKilled process \\d+ (.+) total-vm:\\d+kB, anon-rss:\\d+kB, file-rss:\\d+kB"
21+
"pattern": "Kill process \\d+ (.+) score \\d+ or sacrifice child\\nKilled process \\d+ (.+) total-vm:\\d+kB, anon-rss:\\d+kB, file-rss:\\d+kB.*"
2222
},
2323
{
2424
"type": "temporary",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Memory cgroup out of memory: Kill process 1012 (heapster) score 1035 or sacrifice child
2-
Killed process 1012 (heapster) total-vm:327128kB, anon-rss:306328kB, file-rss:11132kB
2+
Killed process 1012 (heapster) total-vm:327128kB, anon-rss:306328kB, file-rss:11132kB, shmem-rss:12345kB

0 commit comments

Comments
 (0)