Re: [squid-users] Poor cache

2014-08-21 Thread Délsio Cabá
Hi, I have just update to the latest version, and the results are clear: cat /var/log/squid/access.log | awk '{print $4}' | sort | uniq -c | sort -rn 486561 TCP_MISS/200 89612 TCP_MISS/304 52123 TCP_MEM_HIT/200 40408 TCP_MISS/206 36267 TCP_MISS/302 20904 TCP_MISS/204 12246

Re: [squid-users] Poor cache

2014-08-21 Thread Amos Jeffries
On 21/08/2014 11:56 p.m., Délsio Cabá wrote: Hi, I have just update to the latest version, and the results are clear: cat /var/log/squid/access.log | awk '{print $4}' | sort | uniq -c | sort -rn 486561 TCP_MISS/200 89612 TCP_MISS/304 52123 TCP_MEM_HIT/200 40408 TCP_MISS/206

Re: [squid-users] Poor cache

2014-08-20 Thread Amos Jeffries
On 20/08/2014 9:21 a.m., Délsio Cabá wrote: Hi guys, Need some help on cache. Basically I do not see many caches. root@c /]# cat /var/log/squid/access.log | awk '{print $4}' | sort | uniq -c | sort -rn 17403 TCP_MISS/200 3107 TCP_MISS/304 - objects in the client browser cache were

Re: [squid-users] Poor cache

2014-08-20 Thread Délsio Cabá
Hi, Using version: Squid Cache: Version 3.1.10 (Centos RPM) I also have this changes on the OS: /etc/rc.local /sbin/modprobe iptable_nat /sbin/modprobe ip_nat_ftp /sbin/modprobe ip_gre /sbin/modprobe ip_conntrack /sbin/modprobe ip_conntrack_ftp echo 0 /proc/sys/net/ipv4/tcp_syncookies echo

Re: [squid-users] Poor cache

2014-08-20 Thread Amos Jeffries
On 21/08/2014 6:05 a.m., Délsio Cabá wrote: Hi, Using version: Squid Cache: Version 3.1.10 (Centos RPM) Ah. The version itself is probably most of the prooblem. 3.1 does not cache traffic with Cache-Control:no-cache, which these days consists of a large percentage (30-40) of all traffic.

Re: [squid-users] Poor cache

2014-08-19 Thread Eliezer Croitoru
On 08/20/2014 12:21 AM, Délsio Cabá wrote: 3107 TCP_MISS/304 The above is good... It means that the file was not downloaded from the internet\src and was used the local(machine) copy of the file. Eliezer