Hi all , dear eliezer i tried the NgTech solution on AMD cpu but the caching still 0 !!. ================== i have debian 64 bits already had the bin file and moved to /usr/bin ################ root@debian:~# cat fetch-task.sh #!/usr/bin/env bash lockfile -r 0 /tmp/store-fetcher.lock || exit 1 /usr/bin/ms-updates-fetcher-helper_linux_amd64 -dir=/cache echo "" echo "" echo "removing lock file: /tmp/store-fetcher.lock" rm -f /tmp/store-fetcher.lock root@debian:~# ################## i run the script now fetch-task.sh ############################################### root@debian:~# bash fetch-task.sh 2016/09/15 14:35:43 storing cached resources in /cache removing lock file: /tmp/store-fetcher.lock root@debian:~# then i run squid squid below are logs >>>>>>>> ################################### root@debian:~# squid -k parse 2016/09/15 14:30:13| Startup: Initializing Authentication Schemes ... 2016/09/15 14:30:13| Startup: Initialized Authentication Scheme 'basic' 2016/09/15 14:30:13| Startup: Initialized Authentication Scheme 'digest' 2016/09/15 14:30:13| Startup: Initialized Authentication Scheme 'negotiate' 2016/09/15 14:30:13| Startup: Initialized Authentication Scheme 'ntlm' 2016/09/15 14:30:13| Startup: Initialized Authentication. 2016/09/15 14:30:13| Processing Configuration File: /etc/squid/squid.conf (depth 0) 2016/09/15 14:30:13| Processing: acl wu dstdom_regex \.download\.windowsupdate\.com$ 2016/09/15 14:30:13| Processing: acl wu-rejects dstdom_regex stats 2016/09/15 14:30:13| Processing: acl GET method GET 2016/09/15 14:30:13| Processing: cache_peer 127.0.0.1 parent 8080 0 proxy-only no-tproxy no-digest no-query no-netdb-exchange name=ms1 2016/09/15 14:30:13| Processing: cache_peer_access ms1 allow GET wu !wu-rejects 2016/09/15 14:30:13| Processing: cache_peer_access ms1 deny all 2016/09/15 14:30:13| Processing: never_direct allow GET wu !wu-rejects 2016/09/15 14:30:13| Processing: never_direct deny all 2016/09/15 14:30:13| Processing: acl localnet src 10.0.0.0/8 # RFC1918 possible internal network 2016/09/15 14:30:13| Processing: acl localnet src 172.16.0.0/12 # RFC1918 possible internal network 2016/09/15 14:30:13| Processing: acl localnet src 192.168.0.0/16 # RFC1918 possible internal network 2016/09/15 14:30:13| Processing: acl localnet src fc00::/7 # RFC 4193 local private network range 2016/09/15 14:30:13| Processing: acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines 2016/09/15 14:30:13| Processing: acl SSL_ports port 443 2016/09/15 14:30:13| Processing: acl Safe_ports port 80 # http 2016/09/15 14:30:13| Processing: acl Safe_ports port 21 # ftp 2016/09/15 14:30:13| Processing: acl Safe_ports port 443 # https 2016/09/15 14:30:13| Processing: acl Safe_ports port 70 # gopher 2016/09/15 14:30:13| Processing: acl Safe_ports port 210 # wais 2016/09/15 14:30:13| Processing: acl Safe_ports port 1025-65535 # unregistered ports 2016/09/15 14:30:13| Processing: acl Safe_ports port 280 # http-mgmt 2016/09/15 14:30:13| Processing: acl Safe_ports port 488 # gss-http 2016/09/15 14:30:13| Processing: acl Safe_ports port 591 # filemaker 2016/09/15 14:30:13| Processing: acl Safe_ports port 777 # multiling http 2016/09/15 14:30:13| Processing: acl CONNECT method CONNECT 2016/09/15 14:30:13| Processing: http_access allow localnet 2016/09/15 14:30:13| Processing: http_access allow localhost 2016/09/15 14:30:13| Processing: http_access deny all 2016/09/15 14:30:13| Processing: http_port 3128 2016/09/15 14:30:13| Processing: http_port 3129 intercept 2016/09/15 14:30:13| Starting Authentication on port [::]:3129 2016/09/15 14:30:13| Disabling Authentication on port [::]:3129 (interception enabled) 2016/09/15 14:30:13| Processing: maximum_object_size 5000 MB 2016/09/15 14:30:13| Processing: cache_store_log /var/log/squid/store.log 2016/09/15 14:30:13| Processing: access_log daemon:/var/log/squid/access.log squid 2016/09/15 14:30:13| Processing: cache_log /var/log/squid/cache.log 2016/09/15 14:30:13| Initializing https proxy context root@debian:~# tailf /var/log/squid/cache.log 2016/09/15 14:28:14 kid1| Using Least Load store dir selection 2016/09/15 14:28:14 kid1| Current Directory is /root 2016/09/15 14:28:14 kid1| Finished loading MIME types and icons. 2016/09/15 14:28:14 kid1| HTCP Disabled. 2016/09/15 14:28:14 kid1| Configuring Parent 127.0.0.1/8080/0 2016/09/15 14:28:14 kid1| Squid plugin modules loaded: 0 2016/09/15 14:28:14 kid1| Adaptation support is off. 2016/09/15 14:28:14 kid1| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 12 flags=9 2016/09/15 14:28:14 kid1| Accepting NAT intercepted HTTP Socket connections at local=[::]:3129 remote=[::] FD 13 flags=41 2016/09/15 14:28:15 kid1| storeLateRelease: released 0 objects ############################################### root@debian:~# cat /etc/squid/squid.conf acl wu dstdom_regex \.download\.windowsupdate\.com$ acl wu-rejects dstdom_regex stats acl GET method GET cache_peer 127.0.0.1 parent 8080 0 proxy-only no-tproxy no-digest no-query no-netdb-exchange name=ms1 cache_peer_access ms1 allow GET wu !wu-rejects cache_peer_access ms1 deny all never_direct allow GET wu !wu-rejects never_direct deny all ############### #strip_query_terms off acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl localnet src 172.16.0.0/12 # RFC1918 possible internal network acl localnet src 192.168.0.0/16 # RFC1918 possible internal network acl localnet src fc00::/7 # RFC 4193 local private network range acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT http_access allow localnet http_access allow localhost # And finally deny all other access to this proxy http_access deny all http_port 3128 http_port 3129 intercept #cache_dir ufs /cache 45000 16 256 maximum_object_size 5000 MB cache_store_log /var/log/squid/store.log access_log daemon:/var/log/squid/access.log squid cache_log /var/log/squid/cache.log #coredump_dir /cache ############################### for the access_logs e/files/46f445a5-4b69-4636-8d45-5154fadf0011? - ORIGINAL_DST/13.107.4.50 - 1473946597.093 898 10.10.10.118 TCP_MISS/206 1049474 GET http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/46f445a5-4b69-4636-8d45-5154fadf0011? - ORIGINAL_DST/13.107.4.50 - 1473946597.119 593 10.10.10.118 TCP_MISS/206 1049474 GET http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/46f445a5-4b69-4636-8d45-5154fadf0011? - ORIGINAL_DST/13.107.4.50 - 1473946597.151 847 10.10.10.118 TCP_MISS/206 1049474 GET http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/46f445a5-4b69-4636-8d45-5154fadf0011? - ORIGINAL_DST/13.107.4.50 - 1473946597.294 781 10.10.10.118 TCP_MISS/206 1049474 GET http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/46f445a5-4b69-4636-8d45-5154fadf0011? - ORIGINAL_DST/13.107.4.50 - 1473946597.404 1199 10.10.10.118 TCP_MISS/206 1049474 GET http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/46f445a5-4b69-4636-8d45-5154fadf0011? - ORIGINAL_DST/13.107.4.50 - 1473946598.900 13 10.10.10.118 TCP_MISS/200 880 HEAD http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/f016d99d-9dd6-4ea8-87b6-b8d001939b19? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946598.922 12 10.10.10.118 TCP_MISS/200 880 HEAD http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/f016d99d-9dd6-4ea8-87b6-b8d001939b19? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946598.924 13 10.10.10.118 TCP_MISS/200 880 HEAD http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/f016d99d-9dd6-4ea8-87b6-b8d001939b19? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946598.926 13 10.10.10.118 TCP_MISS/200 880 HEAD http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/f016d99d-9dd6-4ea8-87b6-b8d001939b19? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946598.927 13 10.10.10.118 TCP_MISS/200 880 HEAD http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/f016d99d-9dd6-4ea8-87b6-b8d001939b19? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946599.139 208 10.10.10.118 TCP_MISS/206 947564 GET http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/f016d99d-9dd6-4ea8-87b6-b8d001939b19? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946603.805 13 10.10.10.118 TCP_MISS/200 871 HEAD http://dl.delivery.mp.microsoft.com/filestreamingservice/files/0a6da74d-d64d-4586-91c5-d81904b94a22 - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946603.827 13 10.10.10.118 TCP_CLIENT_REFRESH_MISS/200 870 HEAD http://dl.delivery.mp.microsoft.com/filestreamingservice/files/0a6da74d-d64d-4586-91c5-d81904b94a22 - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946603.828 13 10.10.10.118 TCP_CLIENT_REFRESH_MISS/200 870 HEAD http://dl.delivery.mp.microsoft.com/filestreamingservice/files/0a6da74d-d64d-4586-91c5-d81904b94a22 - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946603.830 13 10.10.10.118 TCP_CLIENT_REFRESH_MISS/200 870 HEAD http://dl.delivery.mp.microsoft.com/filestreamingservice/files/0a6da74d-d64d-4586-91c5-d81904b94a22 - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946603.838 19 10.10.10.118 TCP_CLIENT_REFRESH_MISS/200 870 HEAD http://dl.delivery.mp.microsoft.com/filestreamingservice/files/0a6da74d-d64d-4586-91c5-d81904b94a22 - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946603.858 28 10.10.10.118 TCP_MISS/206 69093 GET http://dl.delivery.mp.microsoft.com/filestreamingservice/files/0a6da74d-d64d-4586-91c5-d81904b94a22 - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946603.865 33 10.10.10.118 TCP_MISS/206 69093 GET http://dl.delivery.mp.microsoft.com/filestreamingservice/files/0a6da74d-d64d-4586-91c5-d81904b94a22 - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946603.873 39 10.10.10.118 TCP_MISS/206 69093 GET http://dl.delivery.mp.microsoft.com/filestreamingservice/files/0a6da74d-d64d-4586-91c5-d81904b94a22 - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946603.880 39 10.10.10.118 TCP_MISS/206 69093 GET http://dl.delivery.mp.microsoft.com/filestreamingservice/files/0a6da74d-d64d-4586-91c5-d81904b94a22 - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946605.237 20 10.10.10.118 TCP_MISS/200 3357 GET http://dl.delivery.mp.microsoft.com/filestreamingservice//files/b6f13875-0aa9-49bc-8e64-c8f8ec7a7349/pieceshash - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946605.284 12 10.10.10.118 TCP_MISS/200 876 HEAD http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/b6f13875-0aa9-49bc-8e64-c8f8ec7a7349? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946605.285 12 10.10.10.118 TCP_MISS/200 876 HEAD http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/b6f13875-0aa9-49bc-8e64-c8f8ec7a7349? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946605.287 13 10.10.10.118 TCP_MISS/200 876 HEAD http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/b6f13875-0aa9-49bc-8e64-c8f8ec7a7349? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946605.295 16 10.10.10.118 TCP_MISS/200 876 HEAD http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/b6f13875-0aa9-49bc-8e64-c8f8ec7a7349? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946605.501 215 10.10.10.118 TCP_MISS/206 976116 GET http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/b6f13875-0aa9-49bc-8e64-c8f8ec7a7349? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946609.120 178 10.10.10.118 TCP_MISS/206 1049515 GET http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/f016d99d-9dd6-4ea8-87b6-b8d001939b19? - ORIGINAL_DST/13.107.4.50 application/octet-stream 1473946615.452 147 10.10.10.118 TCP_MISS/206 1049513 GET http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/b6f13875-0aa9-49bc-8e64-c8f8ec7a7349? - ORIGINAL_DST/13.107.4.50 application/octet-stream ############################################# again the cache_dir is empty !!! root@debian:~# du -sh /cache/ 4.0K /cache/ root@debian:~# ################################### hope to help thank you |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users