On 10.02.09 23:12, Jevos, Peter wrote: > I'd like to ask you how can I improve my Hit Ratio ( byte or request ) > cause it's on average 12-15 %, so it seems too low
> I'm using cacti to measure squid snmp activites and my basic config is: > > RAM: 1 GB > cache_mem 8 MB > maximum_object_size_in_memory 1 MB > cache_dir ufs /var/cache/squid 5500 16 256 > minimum_object_size 0 bytes > maximum_object_size 4194304 bytes > cache_swap_low 90 > cache_swap_high 95 instead of playing refresh_patterns, increase disk cache > refresh_pattern windowsupdate.com/.*\.(cab|exe) 4320 100% 43200 > reload-into-ims > refresh_pattern download.microsoft.com/.*\.(cab|exe) 4320 100% 43200 > reload-into-ims > refresh_pattern ^ftp: 1440 20% 10080 > refresh_pattern ^gopher: 1440 0% 1440 > refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200 > override-expire ignore-no-cache ignore-private > refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90% > 432000 override-expire ignore-no-cache ignore-private > refresh_pattern -i \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ > 10080 90% 43200 override-expire ignore-no-cache ignore-p > rivate > refresh_pattern -i \.index.(html|htm)$ 0 40% 10080 > refresh_pattern -i \.(html|htm|css|js)$ 1440 40% 40320 > refresh_pattern . 0 40% 40320 -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Posli tento mail 100 svojim znamim - nech vidia aky si idiot Send this email to 100 your friends - let them see what an idiot you are