does it really cache ?
am 05.08.2004 18:07:53 von Kev
Hi all,
now i have my Linux box running for some time but i dont see SQUID
casheing any files... well when i check the "/var/squid/cache" drive it
shows the usage as 2% all the time.... (drive size 3GB and cache size
2GB) form the 1st time of installation,
the squd is running.
does this mean suid is not casheing ?
u can see the squid.config file below
visible_hostname gate.domain.local
http_port 192.168.51.5:800
acl localnet src 192.168.51.0/255.255.255.0
cache_mem 8 MB
maximum_object_size_in_memory 32 KB
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
half_closed_clients off
cache_swap_high 100%
cache_swap_low 80%
shutdown_lifetime 3 seconds
icp_port 0
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_effective_user squid
cache_effective_group squid
pid_filename /var/run/squid.pid
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
error_directory /usr/local/squid/etc/smootherrors
emulate_httpd_log on
log_mime_hdrs off
forwarded_for off
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 445 443 441 563
acl Safe_ports port 80 # http
acl Safe_ports port 81 # smoothwall http
acl Safe_ports port 21 # ftp
acl Safe_ports port 445 443 441 563 # https, snews
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
acl block_domain dstdomain "/list/block_domain.acl"
http_access allow localhost
http_access deny !Safe_ports
http_access deny block_domain
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all
maximum_object_size 2048 KB
minimum_object_size 0 KB
cache_dir diskd /var/squid/cache 2048 16 256
request_body_max_size 1024 KB
reply_body_max_size 0 allow all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
-------
Web Hosting at a cheap price, starting at $1 per month with your own domain, .COM, .NET, .LK, .ORG etc..
PHP, CGI, Perl, MySQL, Cpanel 9, POP3, POP3s, SMTP, IMAP, FTP,
http://www.orbitsl.net
-
To unsubscribe from this list: send the line "unsubscribe linux-config" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: does it really cache ?
am 05.08.2004 18:34:33 von James Turnbull
This is a cryptographically signed message in MIME format.
--------------ms090403050100000701050905
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Kev wrote:
> Hi all,
>
> now i have my Linux box running for some time but i dont see SQUID
> casheing any files... well when i check the "/var/squid/cache" drive it
> shows the usage as 2% all the time.... (drive size 3GB and cache size
> 2GB) form the 1st time of installation,
>
> the squd is running.
>
> does this mean suid is not casheing ?
>
> u can see the squid.config file below
You can use the Squid Cache Manager -
http://www.squid-cache.org/Doc/FAQ/FAQ-9.html
Regards
James Turnbull
--------------ms090403050100000701050905
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH AQAAoIIH+TCC
AlcwggHAoAMCAQICAwxcXDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJa QTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhh d3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwNTIyMDYxNTI4WhcNMDUw NTIyMDYxNTI4
WjBJMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSYwJAYJKoZI hvcNAQkBFhdq
YW1lc0Bsb3ZlZHRoYW5sb3N0Lm5ldDCBnzANBgkqhkiG9w0BAQEFAAOBjQAw gYkCgYEAx2v2
vUgZ5zogSrElx4VilKyCm0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38oeUH7iGQo13Kc+l4 ivRKYxEZONB6
A6QGUDatVujnb3IyR/aouD+KvgNkbR4eOuUUeDUmA/qpqH1HDn81MUiYzMij 6e1A/AR5eVzG
4QMpMfq9/tGbx/zxFwtLHyrWhgdohhKHEzAFeBeiFsQszQftUvUDPMQAAAAA AAA=
--------------ms090403050100000701050905--
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re[2]: does it really cache ?
am 05.08.2004 19:51:32 von Kev
Thanks got it !!!!!!
> Hi all,
>>
>> now i have my Linux box running for some time but i dont see SQUID
>> casheing any files... well when i check the "/var/squid/cache" drive it
>> shows the usage as 2% all the time.... (drive size 3GB and cache size
>> 2GB) form the 1st time of installation,
>>
>> the squd is running.
>>
>> does this mean suid is not casheing ?
>>
>> u can see the squid.config file below
>
>You can use the Squid Cache Manager -
>http://www.squid-cache.org/Doc/FAQ/FAQ-9.html
>
>Regards
>
>James Turnbull
-------
Web Hosting at a cheap price, starting at $1 per month with your own domain, .COM, .NET, .LK, .ORG etc..
PHP, CGI, Perl, MySQL, Cpanel 9, POP3, POP3s, SMTP, IMAP, FTP,
http://www.orbitsl.net
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html