Re: max filedescriptor on linux

From: Pedro Ribeiro <pribeiro@dont-contact.us>
Date: Tue, 15 Feb 2000 10:01:42 -0000

Be carefull even with that change select() is still limited to 1024FD's
(unless you tweak some #defines in the kernel and recompile them), so be
shure you'r using poll() that doesn't have this limitation.

Best Regards

[]-------------------------------------------------------------[]
  Pedro Ribeiro
  Online: http://www.isel.pt/~pribeiro/
  IRC(PTnet) Nick: PAntMaR
  e-Mail: Personal: pribeiro+sig@isel.pt
          IPLNet/ISELNet Admin: helpdesk@net.ipl.pt
  PGP Key Available in keyservers.
  PGPFP: E848 DCA3 5397 97EF 4CF9 2347 24BD BEF8 D104 1743
[]-------------------------------------------------------------[]

----- Original Message -----
From: "Ahsan Khan" <ahsank@one.net.pk>
To: "Rolf Schulz" <rs@gnsec.de>; <squid-users@ircache.net>
Sent: Segunda-feira, 14 de Fevereiro de 2000 22:04
Subject: Re: max filedescriptor on linux

> Hi,
>
> Well i was also trying the same on RedHat but , I just have done after
> reading u r mail ,
>
>
> The Only Difference is the change in /proc/sys/fs/file-max i have made
that
> 4098 and now after recompiling the squid its wroking with that much ,
>
>
> With Regards
> Ahsan Khan
> Sr. System Admin
> Internet Division (OneNet)
> Sun Communication Pvt. Ltd.
> http://www.one.net.pk
>
>
> ----- Original Message -----
> From: "Rolf Schulz" <rs@gnsec.de>
> To: <squid-users@ircache.net>
> Sent: Tuesday, February 15, 2000 1:57 AM
> Subject: max filedescriptor on linux
>
>
> >
> > Hi folks,
> > I'm running out of FD's on our system, so i tried to compile squid
> > with 2048 FD's max. Building the program was fine, but after starting
> > squid, the cache.log says :
> > 2000/02/14 21:30:19| Starting Squid Cache version 2.3.STABLE1 for
> > i686-pc-linux-gnu...
> > 2000/02/14 21:30:19| Process ID 17800
> > 2000/02/14 21:30:19| With 1024 file descriptors available
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > The parameters in :
> > autoconf.h:#define DEFAULT_FD_SETSIZE 2048
> > autoconf.h:#define SQUID_MAXFD 2048
> >
> > in /usr/include/bits/types.h FD_SETSIZE 2048
> >
> > I also had ulimit -Hn 2048
> > System is Linux 2.2.13 (SUSE 6.3 Dist.)
> >
> >
> > What's wrong ???
> >
> > Rolf
> >
> >
> >
Received on Tue Feb 15 2000 - 09:50:58 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:14 MST