Hi Carlos, If I remember correctly you are compiling form a source rpm right? If so you need to put ulimit -HSn right before the configure line in the SPEC file. You also need to update the init.d file but I think you already did that by hand. the build section of my spec file looks like like this: %build ulimit -HSn 8192 export CFLAGS="-fPIE -Os -g -pipe -fsigned-char" ; export LDFLAGS=-pie ; %configure \ --exec_prefix=/usr \ --bindir=%{_sbindir} \ ... Good Luck, Jerry On Tue, 2006-09-26 at 18:12 -0500, "Carlos Martínez-Troncoso C." wrote: > yes, now when I run ulimit -a I obtain: > > core file size (blocks, -c) 0 > data seg size (kbytes, -d) unlimited > file size (blocks, -f) unlimited > max locked memory (kbytes, -l) 4 > max memory size (kbytes, -m) unlimited > open files (-n) 8192 > pipe size (512 bytes, -p) 8 > stack size (kbytes, -s) 10240 > cpu time (seconds, -t) unlimited > max user processes (-u) 7168 > virtual memory (kbytes, -v) unlimited > > is this ok? > > > Jason Neurohr escribió: > > Are you able to increase the amount of file descriptors or linux box? > > > > -----Original Message----- > > From: "Carlos Martínez-Troncoso C." [mailto:cmartinez@xxxxxxxxxxxxxxx] > > Sent: Wednesday, 27 September 2006 8:51 AM > > To: Adrian Chadd; squid-users@xxxxxxxxxxxxxxx > > Subject: Re: Running out of filedescriptors > > > > Now I am not using delay pools, I recompiled with out them, but nothing, > > squid is using only 1024 filedescriptors > > > > what can I do? > > > > Adrian Chadd escribió: > > > >> Do you use delay pools? If not, try recompiling with out it. > >> > >> > >> > >> Adrian > >> > >> On Tue, Sep 26, 2006, "Carlos Mart?nez-Troncoso C." wrote: > >> > >> > >>> Adrian Chadd escribi?: > >>> > >>> > >>>> On Mon, Sep 25, 2006, "Carlos Mart?nez-Troncoso C." wrote: > >>>> > >>>> > >>>> > >>>>> Hello Squid friends. > >>>>> > >>>>> Recently I found in my cache.log this message: > >>>>> > >>>>> WARNING! Your cache is running out of filedescriptors > >>>>> > >>>>> I found in the same file that Squid was using 1024 filedescriptors > >>>>> > >>>>> I looked for that problem in the forum and FAQ and these are my steps to > >>>>> resolve that: > >>>>> > >>>>> > >>>>> > >>>> Is squid compiling with poll or select? > >>>> > >>>> > >>>> > >>>> > >>>> Adrian > >>>> > >>>> > >>>> > >>>> > >>>> > >>> Adrian is compiled with poll (option --enable-poll in configure) > >>> > >>> Squid Cache: Version 2.5.STABLE14 > >>> configure options: --host=i686-redhat-linux-gnu > >>> --build=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu > >>> --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin > >>> --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share > >>> --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec > >>> --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man > >>> --infodir=/usr/share/info --exec_prefix=/usr --bindir=/usr/sbin > >>> --libexecdir=/usr/lib/squid --localstatedir=/var --datadir=/usr/share > >>> --sysconfdir=/etc/squid --enable-poll --enable-snmp > >>> --enable-removal-policies=heap,lru > >>> --enable-storeio=aufs,coss,diskd,null,ufs --enable-ssl > >>> --with-openssl=/usr/kerberos --enable-delay-pools > >>> --enable-linux-netfilter --with-pthreads > >>> --enable-ntlm-auth-helpers=SMB,winbind,fakeauth > >>> --enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group,winbind_group > >>> --enable-auth=basic,digest,ntlm --enable-digest-auth-helpers=password > >>> --with-winbind-auth-challenge --enable-useragent-log --enable-referer-log > >>> --disable-dependency-tracking --enable-cachemgr-hostname=localhost > >>> --enable-underscores > >>> --enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL,winbind > >>> --enable-cache-digests --enable-ident-lookups --with-large-files > >>> --enable-fd-config --enable-follow-x-forwarded-for > >>> > >>> > >>> -- > >>> Carlos Mart?nez-Troncoso Cera > >>> Coordinador Servicios Internet/Intranet > >>> Universidad del Norte - www.uninorte.edu.co > >>> Tel: 57 5 3509367 > >>> Barranquilla, Colombia > >>> > >>> > >> > >> > > > > > > > > -- Jerry Thomas thomasj@xxxxxxxxxxxxxx I.T. Director ph. 305-662-5959 ext. 242 The SCORE Group fax 305-662-8922