Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47112 Details for
Bug 68524
More filedescriptors for squid
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Support for 8192 filedescriptors
squid-2.5.7-8192fds.patch (text/plain), 4.62 KB, created by
Michal Margula
on 2004-12-29 06:15:57 UTC
(
hide
)
Description:
Support for 8192 filedescriptors
Filename:
MIME Type:
Creator:
Michal Margula
Created:
2004-12-29 06:15:57 UTC
Size:
4.62 KB
patch
obsolete
>diff -ru /usr/portage/www-proxy/squid/files/squid-2.5.7-gentoo.diff /usr/local/portage/www-proxy/squid/files/squid-2.5.7-gentoo.diff >--- /usr/portage/www-proxy/squid/files/squid-2.5.7-gentoo.diff 2004-12-04 03:14:34.000000000 +0100 >+++ /usr/local/portage/www-proxy/squid/files/squid-2.5.7-gentoo.diff 2004-12-29 14:28:55.000000000 +0100 >@@ -447,14 +447,3 @@ > * class is disabled - it's more efficient to just do it than to do all > * the checks. > */ >---- squid-2.5.STABLE7/configure.in.old 2004-12-04 12:55:24.366583200 +1100 >-+++ squid-2.5.STABLE7/configure.in 2004-12-04 12:56:32.863170136 +1100 >-@@ -2027,7 +2027,7 @@ >- exit(0); >- } >- ], >--SQUID_MAXFD=`cat conftestval`, >-+SQUID_MAXFD=8192, >- SQUID_MAXFD=256, >- SQUID_MAXFD=256) >- AC_MSG_RESULT($SQUID_MAXFD) >diff -ru /usr/portage/www-proxy/squid/files/squid.confd /usr/local/portage/www-proxy/squid/files/squid.confd >--- /usr/portage/www-proxy/squid/files/squid.confd 2004-08-15 21:01:22.000000000 +0200 >+++ /usr/local/portage/www-proxy/squid/files/squid.confd 2004-12-29 13:42:04.000000000 +0100 >@@ -7,5 +7,5 @@ > SQUID_OPTS="-DYC" > > # Max. number of filedescriptors to use. You can increase this on a busy >-# cache to a maximum of (currently) 4096 filedescriptors. Default is 1024. >+# cache to a maximum of (currently) 8192 filedescriptors. Default is 1024. > SQUID_MAXFD=1024 >diff -ru /usr/portage/www-proxy/squid/files/squid.rc6 /usr/local/portage/www-proxy/squid/files/squid.rc6 >--- /usr/portage/www-proxy/squid/files/squid.rc6 2004-08-15 21:01:22.000000000 +0200 >+++ /usr/local/portage/www-proxy/squid/files/squid.rc6 2004-12-29 13:42:21.000000000 +0100 >@@ -13,7 +13,7 @@ > maxfds() { > [ -n "$SQUID_MAXFD" ] || return > [ -f /proc/sys/fs/file-max ] || return 0 >- [ $SQUID_MAXFD -le 4096 ] || SQUID_MAXFD=4096 >+ [ $SQUID_MAXFD -le 8192 ] || SQUID_MAXFD=8192 > global_file_max=`cat /proc/sys/fs/file-max` > minimal_file_max=$(($SQUID_MAXFD + 4096)) > if [ "$global_file_max" -lt $minimal_file_max ] >diff -ru /usr/portage/www-proxy/squid/Manifest /usr/local/portage/www-proxy/squid/Manifest >--- /usr/portage/www-proxy/squid/Manifest 2004-12-29 03:12:41.000000000 +0100 >+++ /usr/local/portage/www-proxy/squid/Manifest 2004-12-29 15:11:59.828504032 +0100 >@@ -1,19 +1,19 @@ >+MD5 e4a8135ed447b72a7271fade6c06e9cc squid-2.4.7.ebuild 4000 > MD5 6802044bc30b84224b81aac7ab4029e1 ChangeLog 11787 >-MD5 b245a877cfb8c37e0c387241821f7317 squid-2.5.7.ebuild 5814 >+MD5 d7dd06078d4f3a44b46709294cc7bc21 metadata.xml 249 > MD5 81a38c1c8b9bde45861c616a3d06621a squid-2.5.5-r3.ebuild 5383 >-MD5 e4a8135ed447b72a7271fade6c06e9cc squid-2.4.7.ebuild 4000 > MD5 96e1e858c2ff6b3549c5c6c8077939e3 squid-2.5.6-r3.ebuild 5805 >-MD5 d7dd06078d4f3a44b46709294cc7bc21 metadata.xml 249 >+MD5 f4884ec37deeb7db84244e4b61caae4f squid-2.5.7.ebuild 5814 >+MD5 45bf3c4b37515fe4da4ed6d39904132d files/digest-squid-2.5.5-r3 147 >+MD5 4995c4c8c3365f121620ea78d6ca8794 files/digest-squid-2.4.7 222 > MD5 a188814c2113dcd28c55672dbe58df8c files/squid-2.5.5-ntml-auth-fix.patch 2354 >-MD5 c9e417545195eaf76d98acafbb70132a files/digest-squid-2.5.7 155 > MD5 c3cb57db464a884a63d0c53ceb38331b files/digest-squid-2.5.6-r3 156 >+MD5 c9e417545195eaf76d98acafbb70132a files/digest-squid-2.5.7 155 >+MD5 626914d5b07105602773bf8a1534a3ae files/squid-2.4.7-debian.diff 12078 > MD5 60b9ab4d53c4485a214baa7c8f9a2cc0 files/squid-2.4.7-gentoo.diff 1828 >+MD5 152f2a0cd6f78077ee6615a848282a9a files/squid.confd 437 > MD5 26a4ab522a2469f805f746bcdbe0109c files/squid-2.5.6-ufs-no-valid-dir.patch 566 >-MD5 4995c4c8c3365f121620ea78d6ca8794 files/digest-squid-2.4.7 222 >-MD5 45bf3c4b37515fe4da4ed6d39904132d files/digest-squid-2.5.5-r3 147 >+MD5 77aec5b95dd4600de8621d925d2997e4 files/squid-2.5.7-gentoo.diff 16834 > MD5 6f30a7f5c48ec35a7044acb189c858c5 files/squid-r1.cron 133 > MD5 bea1d2ef8cb2f1590f89bf37f28b9268 files/squid.pam 505 >-MD5 6e5b0d474a4c7d4969bd706b2261a09a files/squid-2.5.7-gentoo.diff 17136 >-MD5 626914d5b07105602773bf8a1534a3ae files/squid-2.4.7-debian.diff 12078 >-MD5 1b391c390c547ef3a249aee590e654d8 files/squid.rc6 1980 >-MD5 6e37fe3047234060fc63d5c16a4b7853 files/squid.confd 437 >+MD5 94cc3090f104c5823f7c709267eefa9f files/squid.rc6 1980 >diff -ru /usr/portage/www-proxy/squid/squid-2.5.7.ebuild /usr/local/portage/www-proxy/squid/squid-2.5.7.ebuild >--- /usr/portage/www-proxy/squid/squid-2.5.7.ebuild 2004-12-12 01:15:45.000000000 +0100 >+++ /usr/local/portage/www-proxy/squid/squid-2.5.7.ebuild 2004-12-29 15:10:48.224389512 +0100 >@@ -126,7 +126,7 @@ > #--enable-icmp > > mv include/autoconf.h include/autoconf.h.orig >- sed -e "s:^#define SQUID_MAXFD.*:#define SQUID_MAXFD 4096:" \ >+ sed -e "s:^#define SQUID_MAXFD.*:#define SQUID_MAXFD 8192:" \ > include/autoconf.h.orig > include/autoconf.h > > # if [ "${ARCH}" = "hppa" ]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 68524
: 47112