Bug 103049
Summary: | httpd hung up reading /dev/random | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | matti aarnio <matti.aarnio> |
Component: | apr | Assignee: | Joe Orton <jorton> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | strobert |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.9.3-14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-09-09 00:54:14 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
matti aarnio
2003-08-25 20:44:46 UTC
Yes, we're switching to use /dev/urandom, there's no real need to have strong random bits for what httpd does with them. Fixed in apr-0.9.3-14. An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2003-320.html It looks like this fix is only working around a kernel issue where the entropy is never being replenished. did any R&D happen on looking into that? There were some known issues in earlier 2.4 kernels in the entropy handling, which did get fixed, IIRC, but still, it's expected behaviour that a read() on /dev/random may block for "a long time". you don't happen to know what patchlevels in the 2.4 series had the problem do you? we have a box running 2.4.20+RH patches that has an entropy of 0 (which thus hung httpd on restart), and has been that way for over a day. I symlink'd /dev/random to /dev/urandom for now. It affected the 2.4.21-based RHEL3 kernel; bug 117218 tracked it. |