Re: Squid grabbing all the processor

From: tom minchin <tom@dont-contact.us>
Date: Sat, 15 Aug 1998 19:07:57 +1000

On Sat, Aug 15, 1998 at 03:53:40PM +0800, Walter Klomp wrote:
> Hi Steve,
>
> I had exactly the same phenomenon. I upgraded to 1.2.bet23, ran all the
> patches, upgraded my linux to 2.0.34 (RedHat 5.1), removed the patch for
> 3000 file-descriptors, and everything is running fine now, faster than ever.
>
> It seems somehow that the 3000 fd patch also has something to do with it.
>
> With 256 file-descriptors I don't reach the limit as squid handles
> file-descriptors quite efficient. Somehow, eventhough this is a transparent
> proxy as well, with about 130 lines connected, I never run out of
> file-descriptors. You might want to try this.
>
> My 20 cents.
>
My few cents as well, I've got an RH5.1 test proxy (it runs in under production
loads but I keep a real close eye on it) with Linux 2.0.35+3KFD. It seems fine,
typically using 2-10% CPU (P2-266/512M/45G). I'm using async IO and SNMP. It
gets around 500k lines a day in the access logs.

I once pestered Alan Cox about 3K FD being standard or optional within the
kernel, but he said the patch made the kernel slower (also said wait for
2.2 which will have 30K FDs...). The 2.0.36 preview kernel also has IP
port forwarding as standard (with equal or weight balanced round robin -
no builtin server failure detect though).

That's enough brackets from me.

tom@interact.net.au
Received on Sat Aug 15 1998 - 02:08:51 MDT

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