Bug 77781
| Summary: | xinetd stop serving the services because "Too many open files" | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Roger Pena-Escobio <orkcu> |
| Component: | xinetd | Assignee: | Jay Fenlason <fenlason> |
| Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.0 | CC: | benl, chris.ricker, jfeeney |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-05-13 17:14:12 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
Roger Pena-Escobio
2002-11-13 15:29:44 UTC
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-2002-196.html Erratum http://rhn.redhat.com/errata/RHSA-2002-196.html does not seem to fix this, reopening (and changing to 7.3): I today updated some server to 2.3.7-4.7x (this is on a 7.3 box). Some hours later I saw exactly the symptoms described above (and had to downgrade xinetd again which "fixes" the problem). This is RHAT 7.3, all updates applied. The main task for xinetd on these machines is to answer time requests. It seems almost identical to what's described above - time, "Too many open files" when trying to access hosts.{allow,deny}. It's easy to reproduce: #!/bin/sh while [[ 1 ]] ; do i=1 # be sure to stay below cps (connections per second, default 25) while [[ ${i} -lt 25 ]] ; do rdate <myserver> >/dev/null i=$((${i}+1)) done # keep cps happy ... sleep 2 done When running "netstat -a | grep CLOSE_WAIT | wc -l" on the server, you see that the number is going up until you get "Too many open files". Forgot to mention that this does not happen with time-upd (rdate -u). Now verified this on many 7.3 and also 8.0 systems, therefore changing to 8.0. Just found this in the Changelog for xinetd 2.3.10 (http://www.xinetd.org/#changes): "Close the service descriptors on fork. This only matters for internal forking services, since anything that calls exec() will get those closed automagically. This will help reduce the file discriptors used by the daemon when using some internal services." Related? Errata for xinetd (to 2.3.11) is in progress 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-160.html |