Re: How to avoid long startup delay waiting for /dev/random?

Paul Herring <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAEWO_9SOTL2OESqPN0A7TzT5Q=Vb_aAB2TyxoXpjntx+TzFAcA@mail.gmail.com>
On Tue, Dec 15, 2020 at 5:22 PM Grant Edwards <[email protected]>
wrote:

> After upgrading a small embedded system's net-snmp from 5.7.3 to 5.8,
> snmpd now takes a _long_ time to start up. Snmpd used to start
> "instantly", but now it blocks on /dev/random for as long as 3-5
> minutes. This holds up my entire system startup unacceptably.
>
> Is there any way to avoid this disruptive behavior?
>
>
We had a similar problem with docker pausing for 2×60s on startup waiting
for /dev/random to fill up (openssl was suspect.)

We used rngd ot mitigate it. https://wiki.archlinux.org/index.php/Rng-tools

Whether you have sufficient space for it, may be another matter...


-- 
PJH

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.