Yasir Khan wrote:
Hi all, I have ten (10) squid-proxies and traffic is blanced using load balancer (Round Robin). The Problem seem to be of Cache Replacement Policy (Algorithem) as all the cache sizes are upto 90% filled. here are disk strucutre on eache cache server. Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p6 29G 22G 5.6G 80% /cache1 /dev/cciss/c0d0p5 29G 22G 5.8G 79% /cache2 /dev/cciss/c0d0p3 29G 22G 5.8G 79% /cache3 /dev/cciss/c0d0p2 29G 21G 6.1G 78% /cache4 *********************************************** and here is squid.conf configuration for allocating disk size to chache cache_swap_low 90 cache_swap_high 95 maximum_object_size 20480 KB maximum_object_size_in_memory 100 KB ipcache_size 10240 cache_replacement_policy heap LFUDA memory_replacement_policy heap LFUDA cache_dir diskd /cache1 25000 16 256 Q1=72 Q2=64 cache_dir diskd /cache2 25000 16 256 Q1=72 Q2=64 cache_dir diskd /cache3 25000 16 256 Q1=72 Q2=64 cache_dir diskd /cache4 25000 16 256 Q1=72 Q2=64 ************************************************ and here what i am getting in cache.log 2008/09/04 14:11:30| storeSwapOutFileClosed: dirno 3, swapfile 000807C6, errflag=FFFFFFFF 2008/09/04 14:11:30| (9) Bad file descriptor 2008/09/04 14:11:30| storeSwapOutFileClosed: dirno 3, swapfile 000807C7, errflag=FFFFFFFF 2008/09/04 14:11:30| (9) Bad file descriptor 2008/09/04 14:11:30| storeSwapOutFileClosed: dirno 3, swapfile 000807C1, errflag=FFFFFFFF 2008/09/04 14:11:30| (9) Bad file descriptor 2008/09/04 14:11:31| storeSwapOutFileClosed: dirno 3, swapfile 000807C2, errflag=FFFFFFFF 2008/09/04 14:11:31| (9) Bad file descriptor 2008/09/04 14:11:33| storeSwapOutFileClosed: dirno 3, swapfile 000807C3, errflag=FFFFFFFF 2008/09/04 14:11:33| (9) Bad file descriptor ******************************************************************** Main problem is that there is no hits all the traffic is passing as it is.. please help in resolving this issue .. regards Yasir Khan
Which squid version? On which operating system? Amos -- Please use Squid 2.7.STABLE4 or 3.0.STABLE8