[Bug 953] openssh session hanging - prngd[671]: write() in socket_write() failed: Broken pipe
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Dec 17 23:58:02 EST 2004
http://bugzilla.mindrot.org/show_bug.cgi?id=953
------- Additional Comments From binder at arago.de 2004-12-17 23:58 -------
>From the ChangeLog:
-- snip --
When lots of processes query entropy at the same time, the "fairness"
change introduced in 0.9.25 could lead to clients being only served with
a delay.
Reason: in serverloop.c the next client to serv is "i1" as determined from
i1 = (prev_location + i) % max_query_old;
The client that actually was served however was "i" instead of "i1".
If the connection of "i" was not yet ready for "write" state set after
getting the entropy, it might block.
This problem has not been reported by any other user, though it might also
have occured at other sites.
Depending on the internal sorting of sockets by fd/slot (number increasing
in the sequence of accepted connections, closed connections are
removed from the list), connections might appear locked.
The entropy served was not provided in the sequence intended. The
entropy bytes returned via internal buffer however were consistent
with the connection served (buffer[i]) was filled correctly for
connection[i]. The problem therefore has no impact on the quality
of seeding.
-- snap --
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list