Search squid archive

Fw: Re: Can`t cache always TCP_MISS

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

 



changed aufs to ufs 

access log:
      1463135303.983    370 10.150.21.23 TCP_MISS/200 85386 GET http://x3.cdn03.imgwykop.pl/c3201142/comment_SqqWeOgh3ilDsHNY4goI2JJOrYJ8uX9V.jpg - HIER_DIRECT/213.189.55.117 image/jpeg
1463135305.547    107 10.150.21.23 TCP_MISS/200 85386 GET http://x3.cdn03.imgwykop.pl/c3201142/comment_SqqWeOgh3ilDsHNY4goI2JJOrYJ8uX9V.jpg - HIER_DIRECT/213.189.55.117 image/jpeg
1463135306.925     96 10.150.21.23 TCP_MISS/200 85386 GET http://x3.cdn03.imgwykop.pl/c3201142/comment_SqqWeOgh3ilDsHNY4goI2JJOrYJ8uX9V.jpg - HIER_DIRECT/213.189.55.117 image/jpeg

cachelog
2016/05/13 11:28:23.878 kid1| 20,2| store_io.cc(42) storeCreate: storeCreate: Selected dir 0 for e:=w1p2DV/0x2dd9610*4
2016/05/13 11:28:25.496 kid1| 20,2| store_io.cc(42) storeCreate: storeCreate: Selected dir 0 for e:=w1p2DV/0x286b850*4
2016/05/13 11:28:26.873 kid1| 20,2| store_io.cc(42) storeCreate: storeCreate: Selected dir 0 for e:=w1p2DV/0x2683c60*4


Linux is like wigwam: no Gates, no Windows and Apache inside.


-------- Original Message --------
Subject: Re: [squid-users] Can`t cache always TCP_MISS
Local Time: 11 maja 2016 2:30 PM
UTC Time: 11 maja 2016 12:30
From
To: squid-users@xxxxxxxxxxxxxxxxxxxxx

On 11/05/2016 10:43 p.m., Jacek Zaleski wrote:
> Hi
> i try use squid in my centos7 in 99% request i have TCP_MISS/200
>
> Debugging

NP: the debug log snippet you posted contains nothing relevant to the
issue described.
Please configure:
debug_options ALL,1 20,2

and look for lines "checkCachable" and stating why each objects is not
stored.


> My config pats
>
> cache dir :
> 98 cache_mem 800 MB
> 99 logfile_rotate 10
> 100 memory_pools off
> 101 minimum_object_size 0 bytes
> 102 maximum_object_size 200 MB
> 103 maximum_object_size_in_memory 512 KB
> 104 #quick_abort_min 0 KB
> 105 #quick_abort_max 0 KB
> 106 log_icp_queries off
> 107 client_db off
> 108 buffered_logs on
> 109 half_closed_clients off
> 110 cache_log /var/log/squid/cache1.log
> 111
> 112 # Uncomment and adjust the following to add a disk cache directory.
> 113 cache_dir aufs /squid-cache 65536 128 256 min-size=512000
> 114
> 115 # Leave coredumps in the first cache dir
> 116 coredump_dir /var/spool/squid
> 117
> 118 #error_directory /usr/share/nginx/404site
> 119 #Special Options for 0365
> 120 forward_max_tries 25
> 121 #
>
>
>
> patterns :
>
> 124 refresh_pattern ^ftp: 1440 20% 10080
> 125 refresh_pattern ^gopher: 1440 0% 1440
> 126 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
> 127 refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 160000 override-expire ignore-no-cache ignore-no-store ignore-private
> 128 refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90% 160000 override-expire ignore-no-cache ignore-no-store ignore-private
> 129 refresh_pattern -i \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ 10080 90% 160000 override-expire ignore-no-cache ignore-no-store ignore-private
> 130 refresh_pattern -i \.index.(html|htm)$ 0 40% 10080
> 131 refresh_pattern . 600 40% 40320 ignore-no-store override-expire

ignore-no-cache is obsolete. Please remove all uses of it.

ignore-no-stre and ignore-private are highly dangerous. Please also
remove those.


> 132 cache allow all
> 133 cache_effective_user squid
> 134 cache_effective_group squid
> 135 ## allow replies to client requests
> 136 http_reply_access allow all

Amos

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

_______________________________________________
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