Re: [squid-users] running out of filedescriptors

From: Glen Van Lehn <[email protected]>
Date: Wed, 16 Oct 2002 11:35:37 -0700

i run BSDi 4.3 and ran into this problem with the default distribution
binary, which allowed only 128 FD's. The FAQ had a reference to
squid-1.1 & bsd 2.1, which basically said to increase the OS user
resources and re-compile squid.
I thought that might be outdated, but found that that is what worked.

my PEU was that the makefile probed the os and built the user limit into
the binary. i tried several things that seemed logical but it didn't
work until i re-compiled after the os resources were changed.. ymmv

check FAQ http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.4 item.

doesn't have HPUX specifically, maybe the Solaris + general BSD would
help

glen van lehn city college san francisco
[PEU - probabbly erroneous understanding ;]

Markus Schlup wrote:
>
> I was experiencing a somewhat resembling problem when I upgraded from
> squid-2.5.PRE5 to squid-2.5.STABLE1 ( see my post to the list:
> http://www.squid-cache.org/mail-archive/squid-users/200210/0011.html
> ). The error message do not look the same, but it has to do with file
> descriptors, too. I did not have any high load when the problem occured
> and I never had this problem with 2.5.PRE5, so I guess it is not the
> problem that squid generally has too few file descriptors available,
> maybe squid does not release them? The error messages start shortly
> after squid was started, but it served pages normally for several hours
> - and then shutdown itself.
>
> Hints?
>
> Thanks
> Markus
>
> >>> Marc Elsen <marc.elsen@imec.be> 10/16/02 01:48pm >>>
>
> James Camaron wrote:
> >
> > Hello All,
> >
> > I have installed squid in HP-UX. Then i start pumping
> > request to squid using polygraph.
> >
> > I gave 300 req/sec. In the cache.log i get the
> > following warning continuously
> >
> > WARNING! Your cache is running out of filedescriptors
> >
> > I already increased the maxfiles to 16384.
> >
> > Where i'm going wrong.
> >
> Nowhere, the question is, does SQUID now use the intended
> number of file desc's.
> (What does SQUID say on startup in cache.log ?).
>
> M.
>
> > Regards,
> > James
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Faith Hill - Exclusive Performances, Videos & More
> > http://faith.yahoo.com
>
> --
>
> 'Time is a consequence of Matter thus
> General Relativity is a direct consequence of QM
> (M.E. Mar 2002)
Received on Wed Oct 16 2002 - 12:36:27 MDT

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