How can I log when reads to /dev/random block?

Posted by ldrg on Server Fault See other posts from Server Fault or by ldrg
Published on 2011-02-08T01:12:22Z Indexed on 2011/03/20 0:11 UTC
Read the original article Hit count: 447

Filed under:
|
|

I've noticed that since updating my server to Debian Squeeze the amount of entropy as reported by /proc/sys/kernel/random/entropy_avail is much lower than it was before the upgrade. I would like to know if this lower pool size is big enough to function with or if I need to look into getting more entropy sources. I think having a way to log blocking reads of /dev/random would show whether I have enough entropy or not.

© Server Fault or respective owner

Related posts about linux

Related posts about logging