Public bug reported:
Binary package hint: squid
After upgrading to lucid, squid ignores the setting of SQUID_MAXFD in
/etc/default/squid and always uses 1024 file descriptors, which is too
few for a busy proxy.
The old /etc/init.d/squid used to contain:
maxfds () {
[ -n "$SQUID_MAXFD" ] || return
[ -f /proc/sys/fs/file-max ] || return 0
global_file_max=`cat /proc/sys/fs/file-max`
minimal_file_max=$(($SQUID_MAXFD + 4096))
if [ "$global_file_max" -lt $minimal_file_max ]
then
echo $minimal_file_max > /proc/sys/fs/file-max
fi
ulimit -n $SQUID_MAXFD
}
Could we have it back in the new /etc/init/squid.conf?
** Affects: squid (Ubuntu)
Importance: Undecided
Status: New
--
Squid no longer uses $SQUID_MAXFD
https://bugs.launchpad.net/bugs/580590
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs