0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

「random: 7 urandom warning(s) missed due to ratelimiting」カーネルメッセージについて

Last updated at Posted at 2021-07-02

random: 7 urandom warning(s) missed due to ratelimiting」カーネルメッセージは情報メッセージなので対処の必要はありません。

例:

[    0.000000] random: get_random_bytes called from start_kernel+0x36b/0x55b with crng_init=0
[    3.071416] random: systemd: uninitialized urandom read (16 bytes read)
[    3.124142] random: systemd: uninitialized urandom read (16 bytes read)
[    3.183129] random: systemd: uninitialized urandom read (16 bytes read)
[    6.716079] random: crng init done
[    6.731775] random: 7 urandom warning(s) missed due to ratelimiting 

RHEL8ではがレート制がが導入され、randomモジュールによって出力されるメッセジーが制限されます。

サーバーでは起動時に十分なエントロピーがないため、このメッセージは一般的です。

randomモジュールでは最大では10回このメッセージのみを出力されますが、レート制限があるため、出力が制限されます。

RHEL8では次のコードが導入されました:

drivers/char/random.c

if (urandom_warning.missed) {
  pr_notice("random: %d urandom warning(s) missed due to ratelimiting\n", urandom_warning.missed);
  urandom_warning.missed = 0;
}

以上です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?