Re: [squid-users] Squid is running out of filedescriptors in Mac OSX Server!

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 18 Oct 2003 00:42:38 +0200 (CEST)

A MacOS X developer support forum is probably appropriate place for this
kind of questions.

For Squid to use large amounts of filedescriptos it need to be able to
redefine FD_SETSIZE at compile time.

Regards
Henrik

On Fri, 17 Oct 2003, MM wrote:

> Hi again!
>
> It's seems that noone on this list have a clue about this. But does
> anyone know where you can turn to get some answers? Are there other
> resources? Are there consultants that are experts in Squid? Yes we can
> pay for some support. I guess this is the downside of Open Source...
>
> Getting desperate... Are using Squid in production...
>
> /Micke Moggia
>
>
> fredagen den 17 oktober 2003 kl 01.38 skrev MM:
>
> > Hi all!
> >
> > Have seen in the FAQ and also in the mailarchives that running out of
> > filedescriptors is not very uncommon. But I haven't seen anyone
> > writing about this issue in Mac OSX Server.
> >
> > We run Squid as a http-accelerator and when our webserver is very
> > busy, Squid keeps saying:
> > WARNING! Your cache is running out of filedescriptors
> >
> > In Mac OS X Server when you run the command sysctl -a you see that:
> > kern.maxfiles = 32768
> >
> > That is also recognized by Squid when you ./configure:
> > checking Maximum number of filedescriptors we can open... 32768
> >
> > But the funny thing, is that when you start Squid, you see in the
> > cache-log:
> > With 1024 file descriptors available
> >
> > So, the problem here seems that Squid "forgets" that it has 32768
> > filedescriptors when running...
> >
> > Can anyone advise?
> >
> > Regards,
> > Micke Moggia
> >
>
Received on Fri Oct 17 2003 - 16:42:43 MDT

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