[squid-users] how to achieve squid to handle 2000 concurrent connections?
Amos Jeffries
squid3 at treenet.co.nz
Thu Apr 30 09:34:07 UTC 2015
On 30/04/2015 2:34 a.m., Abdelouahed Haitoute wrote:
> Selinux is in permissive mode.
>
> In cache.log I’m getting the following log:
> 2015/04/29 16:31:18 kid3| Starting Squid Cache version 3.3.8 for x86_64-redhat-linux-gnu...
> 2015/04/29 16:31:18 kid3| Process ID 19831
> 2015/04/29 16:31:18 kid3| Process Roles: coordinator
> 2015/04/29 16:31:18 kid3| With 16384 file descriptors available
> 2015/04/29 16:31:18 kid3| Initializing IP Cache...
> 2015/04/29 16:31:18 kid3| DNS Socket created at [::], FD 8
> 2015/04/29 16:31:18 kid3| DNS Socket created at 0.0.0.0, FD 9
> 2015/04/29 16:31:18 kid3| Adding domain rinis.nl from /etc/resolv.conf
> 2015/04/29 16:31:18 kid3| Adding nameserver 10.10.6.250 from /etc/resolv.conf
> 2015/04/29 16:31:18 kid1| Starting Squid Cache version 3.3.8 for x86_64-redhat-linux-gnu...
> 2015/04/29 16:31:18 kid1| Process ID 19833
> 2015/04/29 16:31:18 kid1| Process Roles: worker
> 2015/04/29 16:31:18 kid1| With 16384 file descriptors available
> 2015/04/29 16:31:18 kid1| Initializing IP Cache...
> 2015/04/29 16:31:18 kid1| DNS Socket created at [::], FD 8
> 2015/04/29 16:31:18 kid1| DNS Socket created at 0.0.0.0, FD 9
> 2015/04/29 16:31:18 kid1| Adding domain rinis.nl from /etc/resolv.conf
> 2015/04/29 16:31:18 kid1| Adding nameserver 10.10.6.250 from /etc/resolv.conf
> 2015/04/29 16:31:18 kid3| Logfile: opening log daemon:/var/log/squid/access.log
> 2015/04/29 16:31:18 kid3| Logfile Daemon: opening log /var/log/squid/access.log
> 2015/04/29 16:31:18 kid1| Logfile: opening log daemon:/var/log/squid/access.log
> 2015/04/29 16:31:18 kid1| Logfile Daemon: opening log /var/log/squid/access.log
> 2015/04/29 16:31:18 kid2| Starting Squid Cache version 3.3.8 for x86_64-redhat-linux-gnu...
> 2015/04/29 16:31:18 kid2| Process ID 19832
> 2015/04/29 16:31:18 kid2| Process Roles: worker
> 2015/04/29 16:31:18 kid2| With 16384 file descriptors available
> 2015/04/29 16:31:18 kid2| Initializing IP Cache...
> 2015/04/29 16:31:18 kid2| DNS Socket created at [::], FD 8
> 2015/04/29 16:31:18 kid2| DNS Socket created at 0.0.0.0, FD 9
> 2015/04/29 16:31:18 kid2| Adding domain rinis.nl from /etc/resolv.conf
> 2015/04/29 16:31:18 kid2| Adding nameserver 10.10.6.250 from /etc/resolv.conf
> 2015/04/29 16:31:18 kid2| Logfile: opening log daemon:/var/log/squid/access.log
> 2015/04/29 16:31:18 kid2| Logfile Daemon: opening log /var/log/squid/access.log
> 2015/04/29 16:31:18 kid3| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
> 2015/04/29 16:31:18 kid3| Store logging disabled
> 2015/04/29 16:31:18 kid3| Swap maxSize 0 + 2097152 KB, estimated 161319 objects
> 2015/04/29 16:31:18 kid3| Target number of buckets: 8065
> 2015/04/29 16:31:18 kid3| Using 8192 Store buckets
> 2015/04/29 16:31:18 kid3| Max Mem size: 2097152 KB [shared]
> 2015/04/29 16:31:18 kid3| Max Swap size: 0 KB
> 2015/04/29 16:31:18 kid3| Using Least Load store dir selection
> 2015/04/29 16:31:18 kid3| Set Current Directory to /var/spool/squid
> 2015/04/29 16:31:18 kid1| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
> 2015/04/29 16:31:18 kid1| Store logging disabled
> 2015/04/29 16:31:18 kid1| WARNING: disk-cache maximum object size is unlimited but mem-cache maximum object size is 32.00 KB
> 2015/04/29 16:31:18 kid1| Swap maxSize 0 + 2097152 KB, estimated 161319 objects
> 2015/04/29 16:31:18 kid1| Target number of buckets: 8065
> 2015/04/29 16:31:18 kid1| Using 8192 Store buckets
> 2015/04/29 16:31:18 kid1| Max Mem size: 2097152 KB [shared]
> 2015/04/29 16:31:18 kid1| Max Swap size: 0 KB
> 2015/04/29 16:31:18 kid1| Using Least Load store dir selection
> 2015/04/29 16:31:18 kid1| Set Current Directory to /var/spool/squid
> 2015/04/29 16:31:18 kid2| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
> 2015/04/29 16:31:18 kid2| Store logging disabled
> 2015/04/29 16:31:18 kid2| WARNING: disk-cache maximum object size is unlimited but mem-cache maximum object size is 32.00 KB
> 2015/04/29 16:31:18 kid2| Swap maxSize 0 + 2097152 KB, estimated 161319 objects
> 2015/04/29 16:31:18 kid2| Target number of buckets: 8065
> 2015/04/29 16:31:18 kid2| Using 8192 Store buckets
> 2015/04/29 16:31:18 kid2| Max Mem size: 2097152 KB [shared]
> 2015/04/29 16:31:18 kid2| Max Swap size: 0 KB
> 2015/04/29 16:31:18 kid2| Using Least Load store dir selection
> 2015/04/29 16:31:18 kid2| Set Current Directory to /var/spool/squid
> 2015/04/29 16:31:18 kid3| Loaded Icons.
> 2015/04/29 16:31:18 kid3| Configuring Parent 192.168.0.18/3128/0
> 2015/04/29 16:31:18 kid3| Configuring Parent 192.168.0.20/3128/0
> 2015/04/29 16:31:18 kid3| Squid plugin modules loaded: 0
> 2015/04/29 16:31:18 kid3| Adaptation support is off.
> 2015/04/29 16:31:18 kid3| commBind: Cannot bind socket FD 11 to [::]: (2) No such file or directory
This is a bit odd, but it menas the UDS sockets betwen workers and
coordinator are not working.
Does /var/run/squid exist?
Does /dev/shm exist? if not that may be okay depending on OS, AFAIK for
*most* Linux its needed though and for some it needs mounting explicitly.
Amos
More information about the squid-users
mailing list