[squid-users] Squid tuning

From: Gaetano Mendola <mendola@dont-contact.us>
Date: Tue, 30 Mar 2004 01:10:58 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,
I'm running squid 2.5 STABLE 4:

Squid Cache: Version 2.5.STABLE4
configure options: --prefix=/usr/local/squid-tuned2
- --exec-prefix=/usr/local/squid-tuned2 --enable-snmp
- --enable-useragent-log --enable-referer-log --enable-delay-pools
- --enable-ssl --enable-storeio=diskd,aufs,ufs --with-pthreads
- --enable-async-io=24 --enable-kill-parent-hack

and before to compile it I did:

ulimit -HSn 16384
export CFLAGS="-O6 -s -DNUMTHREADS=24"

the box is a dual PIII with 1GB RAM

I'd like know if about you the following configuration make sense.

This is what my squid.conf file contains now:

cache_mem 70 MB
cache_swap_low 80
cache_swap_high 100
maximum_object_size 16384 KB
maximum_object_size_in_memory 16 KB
cache_dir aufs /opt/squid/cache 10000 22 256
cache_store_log none

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

quick_abort_min 0 KB
quick_abort_max 0 KB

negative_ttl 30 seconds
connect_timeout 60 seconds
read_timeout 7 minutes
client_lifetime 240 minutes
half_closed_clients off
pconn_timeout 60 seconds

memory_pools_limit 32 MB
client_persistent_connections on
server_persistent_connections on
pipeline_prefetch on

I have about 300 clients connected at the same time.

How may I obtain the cachemgr output without use the web interface?

Thank you in advance
Gaetano Mendola

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAaK0B7UpzwH2SGd4RAiaNAJ0Q+GxLRkrPyuwQP+e3sQlbKTbhBwCgr5D+
pj3fd8RrfW9cAwn+YyWlCW0=
=UH1D
-----END PGP SIGNATURE-----
Received on Mon Mar 29 2004 - 16:11:14 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST