Bug 168088
Summary: | Maximum number of filedescriptors set to 1024 (SQUID_MAXFD) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul P Komkoff Jr <i> |
Component: | squid | Assignee: | Martin Stransky <stransky> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-09-19 08:13:39 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
Paul P Komkoff Jr
2005-09-12 11:01:47 UTC
Something like this will be enough I think diff -urN squid-2.5.STABLE10.orig/configure squid-2.5.STABLE10/configure --- squid-2.5.STABLE10.orig/configure 2005-05-17 02:41:14.000000000 +0400 +++ squid-2.5.STABLE10/configure 2005-09-09 23:17:41.000000000 +0400 @@ -8308,6 +8308,8 @@ rm -fr conftest* fi +SQUID_MAXFD=16384 + echo "$ac_t""$SQUID_MAXFD" 1>&6 cat >> confdefs.h <<EOF #define SQUID_MAXFD $SQUID_MAXFD diff -urN squid-2.5.STABLE10.orig/configure.in squid-2.5.STABLE10/configure.in --- squid-2.5.STABLE10.orig/configure.in 2005-05-17 02:41:14.000000000 +0400 +++ squid-2.5.STABLE10/configure.in 2005-09-09 23:18:13.000000000 +0400 @@ -2108,6 +2108,7 @@ SQUID_MAXFD=`cat conftestval`, SQUID_MAXFD=256, SQUID_MAXFD=256) +SQUID_MAXFD=16384 AC_MSG_RESULT($SQUID_MAXFD) AC_DEFINE_UNQUOTED(SQUID_MAXFD, $SQUID_MAXFD) if test "$SQUID_MAXFD" -lt 512 ; then Please, route this issue to upstream, http://www.squid-cache.org/ and file the request here. I don't want to change this default value for Fedora only. And If you have to manage a large site, you surely don't use the default values but you do some tuning. Of course I'm doing some tuning! Rebuilding squid with maxfd patched, and putting it in exclude= line of my yum.conf to avoid "official" broken package from slipping into server. Seriously, I wrote mail to "upstream". But what we have in fedora is just build system deficiency on the one side (one cannot set ulimit -HSn 16384 prior to build), and you, claiming this bug as a feature, on the other. |