Search squid archive

Re: [squid-users] squid req/min

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux