[Bug 580590] Re: Squid no longer uses $SQUID_MAXFD
*** This bug is a duplicate of bug 986159 *** https://bugs.launchpad.net/bugs/986159 ** This bug has been marked a duplicate of bug 986159 squid3 open file descriptors limit is set incorrectly -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/580590 Title: Squid no longer uses $SQUID_MAXFD To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/580590/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 580590] Re: Squid no longer uses $SQUID_MAXFD
The bug still exists in 11.10 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/580590 Title: Squid no longer uses $SQUID_MAXFD To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/580590/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 580590] Re: Squid no longer uses $SQUID_MAXFD
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in Ubuntu. https://bugs.launchpad.net/bugs/580590 Title: Squid no longer uses $SQUID_MAXFD To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/580590/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 580590] Re: Squid no longer uses $SQUID_MAXFD
Steps to reproduce == Initial Install and Tests - $ sudo apt-get install squid squid-client $ grep MAX /etc/default/squid· SQUID_MAXFD=1024 $ sudo status squid squid start/running, process 2671 $ squidclient -p 3128 -l 127.0.0.1 -h 127.0.0.1 mgr:info | grep 'Maximum number' Maximum number of file descriptors: 1024 Change SQUID_MAXFD and try again $ sudo sed -i 's/SQUID_MAXFD=1024/SQUID_MAXFD=65536/' /etc/default/squid $ grep MAX /etc/default/squid· SQUID_MAXFD=65536 $ sudo stop squid squid stop/waiting $ sudo start squid squid start/running, process 2758 $ squidclient -p 3128 -l 127.0.0.1 -h 127.0.0.1 mgr:info | grep 'Maximum number' Maximum number of file descriptors: 1024 Apply the patch (attached) and retry: - $ sudo vi /etc/init/squid.conf [ patch ] $ sudo status squid squid stop/waiting $ sudo start squid squid start/running, process 2794 $ squidclient -p 3128 -l 127.0.0.1 -h 127.0.0.1 mgr:info | grep 'Maximum number' Maximum number of file descriptors: 65536 That's more like it! Note: LP#573853 was affecting me as well so I'm also running squid on Lucid with this patch applied as well. ** Patch added: "squid.upstart.patch" https://bugs.launchpad.net/ubuntu/+source/squid/+bug/580590/+attachment/1841848/+files/squid.upstart.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in ubuntu. https://bugs.launchpad.net/bugs/580590 Title: Squid no longer uses $SQUID_MAXFD -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 580590] Re: Squid no longer uses $SQUID_MAXFD
Fix Released? I can't see anything that looks like a fix. Can someone post a link? Maybe I'm just not working launchpad properly. As Rober Fischer The maxfds() subroutine needs to be in the 'script' section... Or something like limit nofile 65536 65536 could be added above 'expect fork'. I've attached my working /etc/init/squid.conf ** Attachment added: "A working (for setting file descriptor limits) version of /etc/init/squid.conf" https://bugs.launchpad.net/ubuntu/+source/squid/+bug/580590/+attachment/1586743/+files/squid.upstart -- Squid no longer uses $SQUID_MAXFD https://bugs.launchpad.net/bugs/580590 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 580590] Re: Squid no longer uses $SQUID_MAXFD
** Changed in: squid (Ubuntu) Status: Fix Released => Confirmed -- Squid no longer uses $SQUID_MAXFD https://bugs.launchpad.net/bugs/580590 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 580590] Re: Squid no longer uses $SQUID_MAXFD
After testing the changes in the squid upstart configuration introduced by commit 51, package squid (2.7.STABLE9-2ubuntu1) maverick, it seems that the max filedescriptors ulimit is still not applied. Setting the ulimit using the "script" section (instead of setting it in the "pre-start script" section) works. -- Squid no longer uses $SQUID_MAXFD https://bugs.launchpad.net/bugs/580590 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 580590] Re: Squid no longer uses $SQUID_MAXFD
This bug was fixed in the package squid - 2.7.STABLE9-2ubuntu1 --- squid (2.7.STABLE9-2ubuntu1) maverick; urgency=low * Merge from debian unstable, remaining changes: + 99-ubuntu-ssl-cert-snakeoil: - src/cf.data.pre: * Add reference to snakeoil /etc/ssl - debian/control: + Add ssl-cert to Depends to brin in snakeoil certificates. + debian/logrotate: use sarg-reports rather than sarg-maint. (LP: #268816) + debian/patches/99-fix-storeurl-move-temp.dpatch: Fix bug with 302 response moved temporarily. (LP: #503777) + debian/squid.upstart, debian/rules: Convert initscripts to upstart. + debian/patches/90-cf.data.ubuntu.dpatch: Add an example refresh pattern for debs (foundations-lucid-local-report spec) + debian/rules: Disable optimizations for arm. (LP: #543798) + Dropped: + debian/patches/99-squid-capability.dpatch: No longer needed. + debian/patches/08-CVE-2010-0308.dpatch: No longer needed. + debian/patches/09-CVE-2010-0639.dpatch: No longer needed. [Chuck Short] * debian/squid.upstart: Re-add maxfds. (LP: #580590) -- Chuck ShortFri, 02 Jul 2010 13:43:09 -0400 ** Changed in: squid (Ubuntu) Status: Confirmed => Fix Released ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2010-0308 ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2010-0639 -- Squid no longer uses $SQUID_MAXFD https://bugs.launchpad.net/bugs/580590 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 580590] Re: Squid no longer uses $SQUID_MAXFD
This will be fixed in maverick. chuck ** Changed in: squid (Ubuntu) Importance: Undecided => Wishlist ** Changed in: squid (Ubuntu) Status: New => Confirmed -- Squid no longer uses $SQUID_MAXFD https://bugs.launchpad.net/bugs/580590 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs