Red Hat Bugzilla – Bug 82987
RFE: More available file descriptors for Squid per default
Last modified: 2014-08-31 19:24:41 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021218
Description of problem:
Squid bundled with Red Hat seems to have only 1024 file descriptors available
per default. This limit can be easily raised by adjusting DEFAULT_FD_SETSIZE
parameter from the Squid's configure script & OPEN_MAX value from
/usr/include/linux/limits.h and after that recompiling Squid.
Is there a reason why the default maximum value is so low? If there isn't, could
it be pumped up in the forthcoming releases of Red Hat?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Red Hat Linux 8.0 (or whatever version, I think)
2. Start Squid.
3. See how your highly loaded proxy server starts to run out of file
descriptors, thus slowing down the server.
Actual Results: After running Squid for couple of minutes it ran out of file
Expected Results: Squid shouldn't run out of file descriptors. Recompiling
Squid with higher maximum values fixed the problem.
See bug #72896 for attempted resolution.
*** This bug has been marked as a duplicate of 72896 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.