Try increasing your maxusers parameter in your kernel (to 512), if this
is a busy server, you will need at least 8192 FD, I have this parameters in
my kernel:
maxusers 512
options NMBCLUSTERS=32768 #Support for 32K for MBufs
Normally my server uses ~3,000 FD, peak reported ~12,000 FD, I have
available 32,768 just in case.
Greetings...
Ales
----- Original Message -----
From: "Crane, Ray" <Ray.Crane@compuware.com>
To: <squid-users@ircache.net>
Sent: Thursday, June 01, 2000 2:38 PM
Subject: Reserved FDs and CPU spikes
> Squid Object Cache: Version 2.2.STABLE5-hno.20000202
>
> Running under FreeBSD 4.0, I'm seeing the CPU useage
> of squid go from 10-20% up to 95%+ and at the same
> time the number of reserved file descriptors jumps
> to consume all available file descriptors, and squid
> starts warning that I'm running out of FDs. Is this
> a known problem? I increased the FD limit to 2048
> from 1064 and recompiled, only to find the problem
> show up again a few minutes later.
>
> File descriptor usage for squid:
> Maximum number of file descriptors: 2048
> Largest file desc currently in use: 354
> Number of file desc currently in use: 322
> Files queued for open: 0
> Available number of file descriptors: 1726
> Reserved number of file descriptors: 1727
> Store Disk files open: 1
>
> --
> Ray Crane <ray.crane@compuware.com>
> Network Security Analyst - Compuware Corp
>
Received on Thu Jun 01 2000 - 15:26:25 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:49 MST