Hello,
Thanks for the suggestion. I checked out the faq and /dev/null does not
appear to be the issue. Memory, this box has 1gb of ram, and during these
high cpu periods i do not detect swapping. I'm suspecting that since the
cache is full squid is dumping the oldest items and taking a while to do it.
I'm wondering if adding another cache directory, changing the size of this
one, or using a different cache format will aliviate this?
Thanks.
Dave.
----- Original Message -----
From: "Mark Elsen" <mark.elsen@xxxxxxxxx>
To: "Dave" <dmehler26@xxxxxxxxxx>
Cc: <squid-users@xxxxxxxxxxxxxxx>
Sent: Friday, December 16, 2005 11:59 AM
Subject: Re: squid cache delay?
Hello,
I've got a recurring problem with squid. I'm running it on a freebsd6
box installed from the latest port. Approximately every 3 to 4 days
internet
access slows to a crawl, and on the squid box squid processes are up in
cpu
time. Additionally whenever a lan machine requests a page the squid box's
hard disk spins up and goes crazy for about 30 seconds, then when it's
done
the page is finally served. I'm assuming it has something to do with the
squid cache setup i'm running, which is only a single directory, a
squid -k
reconfigure relieves the problem. My squid.conf file has this:
cache_dir ufs /usr/local/squid/cache 100 16 256
I am thinking about increasing these values, would a different cache
storage
type help? If i add another cache directory would this problem reoccur?
Thanks.
Dave.
- http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.46
- Does SQUID have sufficient memory on your system ; verify that the
squid process is not swapping.
M.