Red Hat Bugzilla – Bug 498164
bind-9.2.4-22.el3 and too many open files
Last modified: 2013-04-30 19:42:57 EDT
Description of problem:
The well-known bug with too many open files is present also in our RHEL-3 bind.
Version-Release number of selected component (if applicable):
Under heavy load
Steps to Reproduce:
1. Start bind
2. Watch the logs
The named log contains the following errors:
Apr 09 21:35:31.385 general: error: socket.c:1875: unexpected error:
Apr 09 21:35:31.385 general: error: internal_accept: fcntl() failed: Too many open files
This is the same problem as in the bug #476515 and bug #457036. It is qualified as a performance regression caused by an important security fix and there is no known solution for the problem in RHEL-3 and RHEL-4 AFAIK. We have some patch for RHEL-4 which may help under certain circumstances but I believe this is more question for the product management and engineering whether we would consider fixing this in RHEL-3.
We can reuse already tested patch from RHEL4 branch (https://bugzilla.redhat.com/show_bug.cgi?id=476515#c15).
I also recommend to set "files 4096;" option in options statement in named.conf.
An advisory 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 therefore 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.