SSブログ

rngdプロセスが暴走している (2021/07/06) [Linux]

CentOS 8でSambaのレスポンスが重く感じるときがあり、中に入ってみたら愕然。rngdプロセスが暴走していました。rngdは乱数発生に関するコンポーネントの模様です。
top - 01:58:09 up 21 days,  7:00,  1 user,  load average: 1.00, 1.00, 1.00
Tasks: 135 total,   2 running, 133 sleeping,   0 stopped,   0 zombie
%Cpu(s):  7.2 us, 17.6 sy,  0.0 ni, 74.8 id,  0.0 wa,  0.2 hi,  0.1 si,  0.1 st
MiB Mem :   1796.1 total,     92.0 free,    172.4 used,   1531.6 buff/cache
MiB Swap:   2084.0 total,   2000.0 free,     84.0 used.   1451.2 avail Mem

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
    729 rngd      20   0  381340   2436   2044 R  99.0   0.1  30399:20 rngd
      1 root      20   0  252128   8484   5872 S   0.0   0.5   0:11.64 systemd
      2 root      20   0       0      0      0 S   0.0   0.0   0:00.56 kthreadd
      3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp
      4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp
      6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/0:0H-events_highpri
      9 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq
     10 root      20   0       0      0      0 S   0.0   0.0   0:03.61 ksoftirqd/0
     11 root      20   0       0      0      0 I   0.0   0.0   2:05.04 rcu_sched
     12 root      rt   0       0      0      0 S   0.0   0.0   0:00.29 migration/0
     13 root      rt   0       0      0      0 S   0.0   0.0   0:01.13 watchdog/0

うちが仮想環境なので、それに起因する不具合かなと思ったのですが、仮想でないネイティブな環境でも事例報告がある模様。
https://access.redhat.com/solutions/3266261
https://bugzilla.redhat.com/show_bug.cgi?id=1739730

サポートサイトでサービス殺しておけば?と言われているので、とりあえず殺しておくことにします。「systemctl disable --now rngd」 CPU使用率は落ち着きました。

nice!(0)  コメント(0) 
共通テーマ:日記・雑感

nice! 0

コメント 0

コメントを書く

お名前:
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。