[KLUG Members] Squid is driving me nuts.

Adam Tauno Williams members@kalamazoolinux.org
18 Aug 2001 16:15:38 -0400


>I need some help.  I've reinstalled squid on  a machine I have here.  Ppro,
>200 Mhz, 64 MB mem, slackware 8.  Runs like a top.
>This is the first time I've installed squid and had it run correctly on this
>machine.  I've managed to install squid on another machine, and have it run
>from the first try.
>However, this machine is being a pain:  It caches in memory, but never to
>disk.  I check the config file, it's fine.  Check the log files:a tail -f of

Sure?  Why not post your config file.   I've argued with "fine" config
files for ages only to have another pair of eyes point out their
un-"fine"-ness within a minute.

>access.log shows it's serving requests, cache.log shows it's starting well,
>BUT store.log has something funky:  Here is a line:
>(many numbers) RELEASE -1 FFFFFFFFFF (many letters and numbers) 0 -
>1 -1 -1 unknown -1/0 GET http://adbot.theonion.com/popup_ad.js

Hmmm.

>Okay: What is the deal? I haven't found much that helps with parsing the
>store.log file.  Permissions are set fine.  As far as I know, it should be
>working, but it only caches in memory.  I get TCP_MEM_HIT if I am accessing
>pages on different machines in close time proximities, but checking the same
>pages the next day gives me nothing but TCP_MISSes.  Does anyone know what
>is going on? I'm stumped, and ready to go insane.

Did you do a squid -z to create the cache directories before you started
it up in daemon mode?

Try "-N -X" to avoid daemon mode and see if it gripes about anything.
Or attach to the running daemon with strace.