Disk Cache question

From: <clewis@dont-contact.us>
Date: Sat, 26 Feb 2000 22:27:05 -0600 (CST)

I am having some problems configuring squid for my needs. I have read
the included docs & checked all links off the Squid home page. I hope
I didn't miss a FAQ :-)

I am attempting to use squid as a logging proxy, rather than a caching
proxy. Squid appears to be the best choice, but if anybody can recommend
a more appropriate tool I'd appreciate it.

I want all cached entries to be written to disk so that an external
program can access the data. I attempted to setup squid to do this,
but I've made it worse. At last attempt, none of the URLs requested
were written to disk. I'm hoping that I just need to change a few
key parameters, but I'm willing to edit the source code if need be.
It looks like I just need to edit store.c:storeCheckCachable()
to always return 1, but I wanted to make sure that I wasn't going
to break something subtle.

For those that think it is relevent, I am running RedHat Linux 6.1 on
a dual P3, with 512 Meg RAM and 18 Gig of disk space. I am using
Squid 2.2-STABLE4, which came with RedHat 6.1

I was going to include my squid.conf file, until I saw it was 62k.
In the interest of space, I removed all blank and commented out lines.

----- Being squid.conf -----
acl PURGE method purge
acl localhost src 127.0.0.1
http_access allow purge localhost
http_access deny purge
cache_mem 64 MB
maximum_object_size 32 MB
cache_dir /usr/local/squid 128 1 1
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
debug_options ALL,3
redirect_children 32
refresh_pattern . 0 100% 0
quick_abort_pct 1
negative_ttl 0
positive_dns_ttl 1 second
negative_dns_ttl 0
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl CONNECT method CONNECT
http_access allow all
icp_access allow all
miss_access allow all
cache_mgr root@localhost
memory_pools on
memory_pools_limit 50 MB
buffered_logs off
reload_into_ims off
----- End squid.conf -----
Received on Sat Feb 26 2000 - 21:45:53 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:35 MST