Squid no longer uses $SQUID_MAXFD
Bug #580590 reported by
Ian Redfern
This bug report is a duplicate of:
Bug #986159: squid3 open file descriptors limit is set incorrectly.
Edit
Remove
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
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/
if [ "$global_file_max" -lt $minimal_file_max ]
then
fi
ulimit -n $SQUID_MAXFD
}
Could we have it back in the new /etc/init/
Related branches
Changed in squid (Ubuntu): | |
status: | Fix Released → Confirmed |
tags: | added: patch |
To post a comment you must log in.
This will be fixed in maverick.
chuck