Re: [squid-users] squid req/min

From: Askar <askar@dont-contact.us>
Date: Sat, 19 Mar 2005 09:32:14 +0500

Elsen Marc wrote:

>
>
>
>>hi Marc,
>>
>>Find the info you asked
>>
>>1) squid Version 2.5.STABLE9
>>2) Linux (slackware) kernel 2.6.11.3
>>3) 2 sata hard drive 37GB each
>>
>>cache_dir diskd /cache1/cache 25000 32 256
>> cache_dir diskd /cache2/cache 16000 32 256
>> cache_dir diskd /cache3/cache 16000 32 256
>>
>>
>>
>
> - check whether you have adequate RAM versus the total size
>of the cache (see FAQ)
>
>
- 2 GB of physical RAM

> - Check squid process SIZE versus RSS with :
>
> % top
>
>
  squid 15 0 883m 714m 1204 S 26.0 80.8 3147:47 squid

verify whether the squid process 'fits' in memory

> and does not need swap.
>
> - Average swap need of the system can be checked with :
>
> % free
>
>
      total used free shared buffers cached
Mem: 883 874 9 0 57 32
-/+ buffers/cache: 784 98
Swap: 1913 759 1154

>
> If there is to much swap in use. Squid performance can be hampered too.
>
> - Squid rpm's from vendors sometime have all option configured
>with configure.
>
>
squid is installed from source with ....
#squid -v
Squid Cache: Version 2.5.STABLE9
configure options: --prefix=/usr/local/squid --enable-poll
--enable-snmp --enable-cache_digests --enable-underscores
--enable-removal-policies=heap,lru --enable-storeio=aufs,coss,diskd,ufs
--enable-delay-pools --enable-linuxnetfilter --with-pthreads
--enable-icmp --enable-arp-acl --enable-htcp

>In that case I advise to build squid manually, with only those
>configure options needed which you want.
>
>
>
> M.
>
>
>
>
regards
Received on Fri Mar 18 2005 - 21:25:13 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST