[squid-users] Squid 3.5.20 rock store and enable-disk-io

Alex Rousskov rousskov at measurement-factory.com
Thu Sep 1 14:42:25 UTC 2016


On 09/01/2016 01:48 AM, FredB wrote:
> 
>>
>> [Unit]
>> Description=Squid Web Proxy Server
>> After=network.target
>>
>> [Service]
>> Type=simple
>> ExecStart=/usr/sbin/squid -sYC -N


> Yes this is the default value 
> 
> http://bazaar.launchpad.net/~squid/squid/3.5/view/head:/tools/systemd/squid.service
> 
> I guess this is wrong no ?

First of all, startup scripts is not my area of expertise. AFAICT, the
correct short answer is "Using -N to start production Squid is usually
wrong", but that is misleading because the _default_ systemd script may
have to use -N until Squid itself provides a better alternative that is
easy to use from the default systemd script.

A better answer is probably something like "Do not use the default
systemd script in production" and "Make sure you understand the command
line options you pass to Squid".

Squid startup and daemon mode configuration is a complicated area that
affects SMP, -z, and other features. There may be consensus among
developers on what needs to be done there to improve/fix things, but
nobody is working on that at the moment AFAICT.

Alex.



More information about the squid-users mailing list