[squid-users] Squid slow down after awhile
masoud mazarei
msd.mazarei at gmail.com
Sat Oct 14 10:03:03 UTC 2017
TCP ESTABLISHED=54
TCP SYNC/WAIT/FIN=0
FD limitation=64000
net.core.rmem_max = 33554432
net.core.wmem_max = 33554432
net.ipv4.tcp_rmem = 4096 87380 33554432
net.ipv4.tcp_wmem = 4096 65536 33554432
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_mem = 50576 64768 98152
net.core.netdev_max_backlog = 2500
net.ipv4.netfilter.ip_conntrack_max = 1048576
net.ipv4.ip_local_port_range = 18000 65535
CISCO TCAM 10 mac learned(cache server mac,gateway mac ...)
no forward loop
no error in cache.log and syslog
iptables totaly have 10 rows in all chains. and no mem usage which affects
os and machine
and i have only 1 user behind cache server.
also i have checked with many users behind cache but no differ in result.
i have same problem with squid 3.5 and squid 3.1
On Sat, Oct 14, 2017 at 12:36 PM, Amos Jeffries <squid3 at treenet.co.nz>
wrote:
> On 13/10/17 22:09, masoud mazarei wrote:
>
>> I setup squid as traspsrent proxy with wccp configuration(layer 2).
>> All things work propery but after awhile it slows down.
>> I try to findout whats going to happen using tcpdump
>> And i know packets have delay to go out from squid machine. And I guess
>> it may happened cause of tproxy config of linux kernel then i check linux
>> kernel tproxy with
>> https://github.com/LiamHaworth/go-tproxy
>> And there is not delay to send packet out. All things work correctly with
>> no delay. but when I stsrt to use squid after awhile I have delay in packet
>> sending.
>> Whats your opinion?
>>
>>
> Insufficient data:
>
> * Check you WCCP TCAM table size.
>
> * Check your iptables/netfilter memory usage and table capacities.
>
> * Check your available TCP ports.
>
> * Check your Squid machines per-process FD limitations. As viewed by the
> OS and what Squid thinks are available.
>
> * Check for forwarding loops (set 'via on' in squid.conf).
>
> * Check your logs for any issues that may be reported. Especially squid
> cache.log and OS system log.
>
>
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
--
Yours Sincerely
Masoud Mazarei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171014/d520704e/attachment-0001.html>
More information about the squid-users
mailing list