Search squid archive

Re: Squid 3.5.20 rock store and enable-disk-io

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux