Lucas Brasilino wrote:
>
> Hi Marc:
>
> Thanks for the link.
> But I have another question: Henrik says, in this doc, to
> limit the max number of file descriptors with ulimit, which
> is unlimited!! It's a little bit non sense, don't you think so ?
>
> I gonna increase __FD_SETSIZE, recompile Squid and see
> if it works.
>
> thanks a lot
> bests regards
> Lucas Brasilino
I think the specified document is quite clear.
( http://squid.sourceforge.net/hno/linux-lfd.html)
The 'ulimit' command does limit the number of FD's to a given
value. As can be seen from the text.
Perhaps, ulimit is a somewhat confusing command name in this
context.
M.
>
> >>
> >> I'm using Squid 2.3.STABLE4 supplyed by RedHat 7.1, configured
> >>as transparent proxy,
> >>which is running out file descriptors as seen at cache.log file:
> >>
> >>| WARNING! Your cache is running out of filedescriptors
> >>
> >> I´ve increased configured /proc/sys/fs/file-max to support
> >>32768 open files, but nothing changed.
> >> Looking around, I saw a interesting log in cache.log:
> >>
> >>Starting Squid Cache version 2.3.STABLE4 for i386-redhat-li
> >>nux-gnu...
> >>Process ID 2710
> >>With 1024 file descriptors available
> >>
> >
> >
> >
> > http://squid.sourceforge.net/hno/linux-lfd.html
> >
> >
> > M.
> >
> >
>
> --
>
> []'s
> Lucas Brasilino
> brasilino@recife.pe.gov.br
> http://www.recife.pe.gov.br
> Emprel - Empresa Municipal de Informatica (pt_BR)
> Municipal Computing Enterprise (en_US)
> Recife - Pernambuco - Brasil
> Fone: +55-81-34167078
-- 'Time is a consequence of Matter thus General Relativity is a direct consequence of QM (M.E. Mar 2002)Received on Tue Sep 24 2002 - 00:57:01 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:24 MST