[Bug 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
This is fixed in the squid package now available in Xenial, which removes upstart integration. ** Changed in: squid3 (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
For the record this usage of -N is an intentional addition for Upstart integration with Squid-3. It is needed to avoid those much worse process control start/stop issues mentioned in the report, and other less obvious problems around the system. The Ubuntu package dropping its Upstart integration patch as a whole will remove this issue. At cost of dropping back to SysVinit for process management. Squid-3.5 versions currently in Debian upstream contains different integration for dual compatibility with SysVinit and systemd which offers better behaviour (and those "service" commands), but this does not affect the Upstart support. Squid-4 versions (not yet packaged) will be coming with some changes that should make the -N option no longer needed for Upstart. That will need to be verified when the time comes, if Upstart intgration is still in the Ubuntu package at that point. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+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 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
For the record this usage of -N is an intentional addition for Upstart integration with Squid-3. It is needed to avoid those much worse process control start/stop issues mentioned in the report, and other less obvious problems around the system. The Ubuntu package dropping its Upstart integration patch as a whole will remove this issue. At cost of dropping back to SysVinit for process management. Squid-3.5 versions currently in Debian upstream contains different integration for dual compatibility with SysVinit and systemd which offers better behaviour (and those "service" commands), but this does not affect the Upstart support. Squid-4 versions (not yet packaged) will be coming with some changes that should make the -N option no longer needed for Upstart. That will need to be verified when the time comes, if Upstart intgration is still in the Ubuntu package at that point. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
Thanks for the reminder! I think I'll give it a try since this is something that would improve Squid performance for us. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+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 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
Thanks for the reminder! I think I'll give it a try since this is something that would improve Squid performance for us. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
** Tags added: trusty -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+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 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
** Tags added: trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
I haven't treated this as a priority to be fixed because I presume that SMP squid has very few active users. Only three people have marked themselves as affected by this bug in over a year. If someone can prepare a fix and test that it works for all use cases, including for non-SMP squid users on 14.04, then we can fix it. See https://wiki.ubuntu.com/StableReleaseUpdates#Procedure However, I am concerned that changing the way that squid starts for every existing 14.04 user may result in regressions that would be unacceptable in a stable release. I'm not ruling an update out, but I do expect a proposed fix to include very careful consideration of *all* use cases that might be affected. This is difficult, so that's why we're back to the number of users affected by this bug. A workaround for affected users published here might be more suitable. For Vivid and Wily, we're using systemd and not the upstart script any more, so this bug may no longer affect them and so may not be an issue by the next LTS release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
I haven't treated this as a priority to be fixed because I presume that SMP squid has very few active users. Only three people have marked themselves as affected by this bug in over a year. If someone can prepare a fix and test that it works for all use cases, including for non-SMP squid users on 14.04, then we can fix it. See https://wiki.ubuntu.com/StableReleaseUpdates#Procedure However, I am concerned that changing the way that squid starts for every existing 14.04 user may result in regressions that would be unacceptable in a stable release. I'm not ruling an update out, but I do expect a proposed fix to include very careful consideration of *all* use cases that might be affected. This is difficult, so that's why we're back to the number of users affected by this bug. A workaround for affected users published here might be more suitable. For Vivid and Wily, we're using systemd and not the upstart script any more, so this bug may no longer affect them and so may not be an issue by the next LTS release. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+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 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
I have also encountered the two issues Michael mentions and two others in the upstart script /etc/init/squid3 that are - from my perspective - essential to get SMP Squid3 working. They are: * an expect daemon line needs to be included * a statement that checks for the presence of /var/run/squid3 and creates the directory if necessary, as well as granting the squid3 process owner write permissions in the directory. However; seeing as this issue has not seen any activity or resolution, is my impression correct that (a) SMP Squid has very few active users, and (b) despite this being a buggy feature in an LTS release, this is not a priority to be fixed? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
I have also encountered the two issues Michael mentions and two others in the upstart script /etc/init/squid3 that are - from my perspective - essential to get SMP Squid3 working. They are: * an expect daemon line needs to be included * a statement that checks for the presence of /var/run/squid3 and creates the directory if necessary, as well as granting the squid3 process owner write permissions in the directory. However; seeing as this issue has not seen any activity or resolution, is my impression correct that (a) SMP Squid has very few active users, and (b) despite this being a buggy feature in an LTS release, this is not a priority to be fixed? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+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 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
this bug is still active in Ubuntu 14.04 LTS -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+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 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
this bug is still active in Ubuntu 14.04 LTS -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
Thank you for reporting this bug and helping to make Ubuntu better. This sounds reasonable to me. The current upstart script and use of -N precludes the use of the workers configuration option. Ideally, we'd fix the upstart script to let squid daemonise itself so that it can do this. ** Changed in: squid3 (Ubuntu) Status: New = Triaged ** Changed in: squid3 (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+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 1235681] Re: squid3 always run with -N option, incompatible with SMP option (workers)
Thank you for reporting this bug and helping to make Ubuntu better. This sounds reasonable to me. The current upstart script and use of -N precludes the use of the workers configuration option. Ideally, we'd fix the upstart script to let squid daemonise itself so that it can do this. ** Changed in: squid3 (Ubuntu) Status: New = Triaged ** Changed in: squid3 (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235681 Title: squid3 always run with -N option, incompatible with SMP option (workers) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1235681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs