linux-config.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kev <savage-garden@hanikamail.com>
To: linux-admin <linux-admin@vger.kernel.org>,
	linux-config <linux-config@vger.kernel.org>
Subject: does it really cache ?
Date: Thu, 05 Aug 2004 22:07:53 +0600	[thread overview]
Message-ID: <20040805220452.9000.SAVAGE-GARDEN@hanikamail.com> (raw)
In-Reply-To: <20040803172339.529094471.spierce@page-developer.net>

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


       reply	other threads:[~2004-08-05 16:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200408031548.49555.xcallejas@ibcinc.com.sv>
     [not found] ` <20040803172339.529094471.spierce@page-developer.net>
2004-08-05 16:07   ` Kev [this message]
2004-08-05 16:34     ` does it really cache ? James Turnbull
2004-08-05 17:51       ` Re[2]: " Kev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040805220452.9000.SAVAGE-GARDEN@hanikamail.com \
    --to=savage-garden@hanikamail.com \
    --cc=linux-admin@vger.kernel.org \
    --cc=linux-config@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).