enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #03877
[Bug 1390132] [NEW] Cannot change the maximum number of filedescriptors
Public bug reported:
The max_filedescriptors configuration directive is being ignored on
Trusty.
To reproduce the problem, set max_filedescriptors in squid.conf and run
the following command:
squid3 -k parse 2>&1|grep max_filedescriptors
The following output should result.
2014/11/06 15:21:15| WARNING: max_filedescriptors disabled. Operating
System setrlimit(RLIMIT_NOFILE) is missing.
Indeed, regardless of the max_filedescriptors value specified in
squid.conf, squid will run with a maximum of 65536 file descriptors
available. This can be verified with:
grep 'file descriptor' /var/log/squid3/cache.log
2014/11/06 15:30:45| With 65536 file descriptors available
The reason for this is that squid has been built with --with-
filedescriptors=65536
Rebuilding the package without --with-filedescriptors, squid honors the
maximum number of open file descriptors set with ulimit.
Fedora also had a similar problem:
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=976815
Thanks,
Emanuele
apt-cache policy squid3 | grep Installed
Installed: 3.3.8-1ubuntu6.1
lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
** Affects: squid3 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to squid3 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1390132
Title:
Cannot change the maximum number of filedescriptors
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1390132/+subscriptions
Follow ups
References