Hello,
I'm trying to use squid as an image-only cache. Generally it works pretty
well. However, sometimes there can be a significant delay before a page is
loaded and at times some images will never load. After refreshing the page
it often comes up immediately. The server is 2.4 GHz with 1 Gig of ram and
3 36 Gig hard drives (raid 5). OS is RedHat 9.0
Squid Cache: Version 2.5.STABLE3
configure options: --prefix=/usr/local/squid --bindir=/usr/local/bin
--sbindir=/usr/local/sbin --libexecdir=/usr/libexec/squid
--mandir=/usr/share/man --datadir=/usr/share --localstatedir=/var/log/squid
--sysconfdir=/etc/squid --infodir=/usr/share/info --enable-useragent-log
--enable-snmp --enable-kill-parent-hack
Here is my config:
****************************
http_port 8080
cache_dir ufs /webdata/squid/cache 5000 16 256
cache_mgr paul.gareau@erm.com
cache_effective_user squid
cache_effective_group squid
cache_mem 256 MB
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_swap_log /var/log/squid/swap.log
maximum_object_size 10240 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 10 KB
acl all src 0.0.0.0/0.0.0.0
acl erm src [00].143.105.202/255.255.255.255
acl self_src src 127.0.0.1/255.255.255.255
acl self_dst dst [00].143.105.205/255.255.255.255
acl msie browser MSIE[[:space:]]6.0
acl query urlpath_regex ?
acl images urlpath_regex -i .gif$ .jpg$ .png$
icp_access deny all
http_access deny !msie
http_access allow erm
http_access allow self_src
http_access deny all
no_cache deny self_dst
no_cache deny query
no_cache deny !images
*************************
[00] so you don't know my IP ;^>
Any ideas? Is there anything in particular I should watch the logs for?
I'd like to roll this out ASAP but I won't be able to until I figure this
stuff out.
-Paul
Received on Sat Aug 23 2003 - 19:08:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:05 MST