[squid-users] how to achieve squid to handle 2000 concurrent connections?

Amos Jeffries squid3 at treenet.co.nz
Wed Apr 29 11:56:03 UTC 2015


On 29/04/2015 6:42 p.m., Abdelouahed Haitoute wrote:
> Hello Amos,
> 
>> Try adding this to your config file:
>> workers 2
> 
> I’ve added this directive. After a restart I don’t see squid-process listening on the tcp port 3128.
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      921/sshd
> tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1033/master
> tcp6       0      0 :::22                   :::*                    LISTEN      921/sshd
> tcp6       0      0 ::1:25                  :::*                    LISTEN      1033/master
> 
> /var/log/messages
> squid[17362]: Squid Parent: will start 3 kids
> squid[17362]: Squid Parent: (squid-coord-3) process 17364 started
> squid[17362]: Squid Parent: (squid-2) process 17365 started
> squid[17362]: Squid Parent: (squid-1) process 17366 started
> systemd: Started Squid caching proxy.
> 
> What am I missing?

The messages log entries look fine.

SELinux?
 (just a guess, AFAIK with port 3128 the default policy should be working).

What does cache.log say?

Amos



More information about the squid-users mailing list