Re: [squid-users] RE: 8232 filedescriptors too few!

From: Brian Leung <brianlk@dont-contact.us>
Date: Tue, 30 Jul 2002 13:23:34 +0800 (HKT)

it should be recorded in the cache.log when u try to restart squid

Regards,
Brian Leung
System Engineer
Pacific Supernet

On Mon, 29 Jul 2002, Prakash Khemani wrote:

>
> I had reconfigured the kernel to allow 8232 filedescriptors. But I had
> not recompiled squid. I guess I have to do that. How do I make sure that
> Squid is actually seeing the 8232 filedescriptors?
>
>
> > -----Original Message-----
> >
> >
> > I am running squid 2.4STABLE4 on FreeBSD 4.4. I feel I have enough
> > filedescriptors configured, yet squid complains.
> >
> > sysctl -a |grep maxfiles shows
> > kern.maxfiles: 8232
> > kern.maxfilesperproc: 8232
> >
> > The Squid Unix user account is 'squid'.
> > As root the limit command shows "descriptors 8232"
> > As squid the ulimit -a command shows "open files (-n) 8232"
> >
> > While running the Squid cache and with load
> > pstat -T shows
> > 325/8232 files
> > 0M/499M swap space
> >
> > fstat -u squid | wc shows
> > 287
> >
> > So, it appears that out of 8232 available file descriptors the squid
> cache
> > is using only 287. Still it complains. It gives the following warnings
> >
> > commResetFD: socket: (24) Too many open files
> > WARNING! Your cache is running out of filedescriptors
> >
> >
> > Thanks,
> > Prakash
>
Received on Mon Jul 29 2002 - 23:23:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:24 MST