[lkml]   [2002]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Continuing /dev/random problems with 2.4
    On Fri, Feb 01, 2002 at 02:50:31PM -0500, Robert Love wrote:
    | What is the output of `/proc/sys/kernel/random/entropy_avail' when
    | programs are stalled? Is it actually 0?

    Yep, and it never raises above that -- it doesn't jump around even after
    a month.

    | Can you see if any programs are perhaps draining entropy in the
    | background? See what has /dev/[u]random open ... note even /dev/urandom
    | uses entropy, its the same as /dev/random, except it doesn't care when
    | the entropy estimate is 0.

    I've scanned /proc to verify that all PIDs do not have an FD open to
    /dev/random. This was my first guess when this started -- some
    developer was draining entropy in a while(1) loop. I believe I went so
    far as to go to runlevel 1 with nothing but sh and kernel threads.

    That may not be comprehensive, so I'm open to other diagnostic tips.
    And yes, /dev/urandom does continue to work, as expected.


    | Robert Love
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:23    [W:0.020 / U:12.728 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site