“Oom导致进程消失”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
(创建页面,内容为“=问题= <pre> java哥反映有个进程老是不见了 [root@prodo-java03 log]# cat messages | grep oom Sep 20 05:32:10 prod-hello-java03 kernel: java invoke…”)
 
第18行: 第18行:
 
Sep 24 00:01:22 prod-hello-java03 kernel: [<ffffffffbd1b9f8d>] ? oom_unkillable_task+0xcd/0x120
 
Sep 24 00:01:22 prod-hello-java03 kernel: [<ffffffffbd1b9f8d>] ? oom_unkillable_task+0xcd/0x120
 
Sep 24 00:01:22 prod-hello-java03 kernel: [ pid ]  uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
 
Sep 24 00:01:22 prod-hello-java03 kernel: [ pid ]  uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
 +
 +
 +
 +
可见是 java
 +
 +
Sep 24 00:01:22 prod-hello-java03 kernel: Out of memory: Kill process 46473 (java) score 250 or sacrifice child
 +
Sep 24 00:01:22 prod-hello-java03 kernel: Killed process 46473 (java) total-vm:5333504kB, anon-rss:2000260kB, file-rss:0kB, shmem-rss:0kB
 +
Sep 24 00:01:22 prod-hello-java03 kernel: java invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
 +
Sep 24 00:01:22 prod-hello-java03 kernel: java cpuset=/ mems_allowed=0
 +
Sep 24 00:01:22 prod-hello-java03 kernel: CPU: 1 PID: 54533 Comm: java Kdump: loaded Not tainted 3.10.0-957.1.3.el7.x86_64 #1
 +
Sep 24 00:01:22 prod-hello-java03 kernel: Hardware name: Xen HVM domU, BIOS 4.2.amazon 08/24/2006
 +
Sep 24 00:01:22 prod-hello-java03 kernel: Call Trace:
 +
  
  
 
</pre>
 
</pre>

2020年9月25日 (五) 03:43的版本

问题

java哥反映有个进程老是不见了 

[root@prodo-java03 log]# 

cat   messages  | grep oom
Sep 20 05:32:10 prod-hello-java03 kernel: java invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
Sep 20 05:32:10 prod-hello-java03 kernel: [<ffffffffbd1ba4e4>] oom_kill_process+0x254/0x3d0
Sep 20 05:32:10 prod-hello-java03 kernel: [<ffffffffbd1b9f8d>] ? oom_unkillable_task+0xcd/0x120
Sep 20 05:32:10 prod-hello-java03 kernel: [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
Sep 24 00:01:22 prod-hello-java03 kernel: tuned invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
Sep 24 00:01:22 prod-hello-java03 kernel: [<ffffffffbd1ba4e4>] oom_kill_process+0x254/0x3d0
Sep 24 00:01:22 prod-hello-java03 kernel: [<ffffffffbd1b9f8d>] ? oom_unkillable_task+0xcd/0x120
Sep 24 00:01:22 prod-hello-java03 kernel: [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
Sep 24 00:01:22 prod-hello-java03 kernel: java invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
Sep 24 00:01:22 prod-hello-java03 kernel: [<ffffffffbd1ba4e4>] oom_kill_process+0x254/0x3d0
Sep 24 00:01:22 prod-hello-java03 kernel: [<ffffffffbd1b9f8d>] ? oom_unkillable_task+0xcd/0x120
Sep 24 00:01:22 prod-hello-java03 kernel: [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name



可见是 java

Sep 24 00:01:22 prod-hello-java03 kernel: Out of memory: Kill process 46473 (java) score 250 or sacrifice child
Sep 24 00:01:22 prod-hello-java03 kernel: Killed process 46473 (java) total-vm:5333504kB, anon-rss:2000260kB, file-rss:0kB, shmem-rss:0kB
Sep 24 00:01:22 prod-hello-java03 kernel: java invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
Sep 24 00:01:22 prod-hello-java03 kernel: java cpuset=/ mems_allowed=0
Sep 24 00:01:22 prod-hello-java03 kernel: CPU: 1 PID: 54533 Comm: java Kdump: loaded Not tainted 3.10.0-957.1.3.el7.x86_64 #1
Sep 24 00:01:22 prod-hello-java03 kernel: Hardware name: Xen HVM domU, BIOS 4.2.amazon 08/24/2006
Sep 24 00:01:22 prod-hello-java03 kernel: Call Trace: