linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* does it really cache ?
       [not found] ` <20040803172339.529094471.spierce@page-developer.net>
@ 2004-08-05 16:07   ` Kev
  2004-08-05 16:34     ` James Turnbull
  0 siblings, 1 reply; 3+ messages in thread
From: Kev @ 2004-08-05 16:07 UTC (permalink / raw)
  To: linux-admin, linux-config

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: does it really cache ?
  2004-08-05 16:07   ` does it really cache ? Kev
@ 2004-08-05 16:34     ` James Turnbull
  2004-08-05 17:51       ` Re[2]: " Kev
  0 siblings, 1 reply; 3+ messages in thread
From: James Turnbull @ 2004-08-05 16:34 UTC (permalink / raw)
  To: Kev; +Cc: linux-admin, linux-config

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

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

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 2801 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re[2]: does it really cache ?
  2004-08-05 16:34     ` James Turnbull
@ 2004-08-05 17:51       ` Kev
  0 siblings, 0 replies; 3+ messages in thread
From: Kev @ 2004-08-05 17:51 UTC (permalink / raw)
  To: James Turnbull; +Cc: linux-admin, linux-config

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-05 17:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200408031548.49555.xcallejas@ibcinc.com.sv>
     [not found] ` <20040803172339.529094471.spierce@page-developer.net>
2004-08-05 16:07   ` does it really cache ? Kev
2004-08-05 16:34     ` James Turnbull
2004-08-05 17:51       ` Re[2]: " Kev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).