It may be the 'nbytes<1' line. It can perhaps be changed to 'nbytes<8'. A few sleep commands in the loop are also not a bad idea either.
In either case, we've had a very cursory attempt at: https://github.com/Openand-I/haveged/commit/a71df191b15a610140e420f2f17da558e6ebca08 Specifically around lines: 558, 568 for an idea of what we did to solve the issue on Android and Ubuntu. BTW, great usability improvements can be seen simply by freeing up the entropy collection from user input. Cursory, pun intended :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1318678 Title: haveged consumes 100% cpu when used with -w > 4067 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/haveged/+bug/1318678/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
