ruby on rails - "random: nonblocking pool" initialization taking a long time on Ubuntu 16.04 Server -
on ubuntu 16.04 server (kernel 4.4.0-22) takes 2-5 minutes initialize "random: nonblocking pool" according /var/log/syslog, compared ubuntu 14.04:
may 28 18:10:42 foo kernel: [ 277.447574] random: nonblocking pool initialized
this happened lot faster on ubuntu 14.04 (kernel 3.13.0-79):
may 27 06:28:56 foo kernel: [ 14.859194] random: nonblocking pool initialized
i observed on digitalocean vms. it's causing trouble rails applications because unicorn server seems wait pool become available before starting up.
what reasonable time initialization step?
why take longer on ubuntu 16.04?
is reasonable application wait pool become available or might dependency on pool bug on application side?
"apt-get install rng-tools" makes ubuntu use available hardware number generators fixes issue - pool ready in 10s instead of minutes then.
Comments
Post a Comment