Re: Squid bug - Or machine problem?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 28 Feb 1999 15:12:05 +0100

Steven Fletcher wrote:

> We were running squid-2.1-release for a customer's proxy solution
> ith FreeBSD 2.2.8-RELEASE, on an old P133, 16Megs RAM and 2.5 gigs

16 MB is a bit in the smallest range for such a system. I would
recommend upgrading it to at least 32MB. Squid performs very badly if
the system is low on main memory.

> Feb 26 19:08:50 freebsd squid[5094]: WARNING: Cannot run
> '/usr/local/squid/bin/dnsserver' process.

I strongly encourage you to look into this as well. Squid performs very
badly if it can't use dnsservers. The sign is that communication hangs
for up to a minute every now and then when a user requests a new site.

> Feb 26 19:13:53 freebsd /kernel: swap_pager: out of swap space

Simplest cure to this is to increase the swap space of the system.
Anything will break if the system runs out of virtual memory. Best cure
is more main memory.

Squids memory usage increases slightly as more and more objects get
stored to disk. This may be the reason why things looked good to begin
with, and now crashes.

See also the Squid FAQ for information on memory tuning, both Squid
tuning and operating system tuning.

---
Henrik Nordstrom
Spare time Squid hacker
Received on Sun Feb 28 1999 - 07:06:29 MST

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