squid3 always run with -N option, incompatible with SMP option (workers)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid3 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi,
I switch to Ubuntu 13.10 to enjoy a version of Squid more recent than 3.1. (it's 3.3 in 13.10)
My currrent version is 3.3.8-1ubuntu3
One of the reasons for switching was support for SMP (Squid3 running multiple instances of itself in a native way).
However, even if you put "workers 8" (for example) in /etc/squid3/
See http://
One option is to remove the "-N" option in /etc/init/squid3. This option could be put in /etc/default/squid3 for people who really want it.
However, this is just a quick and dirty work-around, as after this change, stopping the service with "service squid3 stop" no longer works. You have to manually kill the "squid-coord-X" process. Therefore, extra rework is needed in /etc/init/squid3.
That's all I have for the moment. Better workarounds and solutions are welcome! I'll post more if I have any.
Cheers,
Michael.
tags: | added: trusty |
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.