=> There is 1 zombie process.

Nid: 1223
  • Posted on: 1 March 2019
  • By: admin

ログイン時にエラーメッセージ。

Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-45-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Fri Mar  1 11:03:14 UTC 2019

  System load:  3.06              Processes:           373
  Usage of /:   12.7% of 1.76TB   Users logged in:     0
  Memory usage: 82%               IP address for eno3: 51.68.206.148
  Swap usage:   0%

  => There is 1 zombie process.

プロセス特定

$ ps axo stat,ppid,pid,comm | grep -w defunct
Z     2379 13958 sh <defunct>

停止

$ sudo kill -s SIGCHLD 13958

確認

$ ps axo stat,ppid,pid,comm | grep -w defunct
Z     2379 13958 sh <defunct>

停止できていないので、親プロセス停止

$ sudo kill -9 2379

確認

$ ps axo stat,ppid,pid,comm | grep -w defunct