Re: [squid-users] Unable to increase filedescriptor limit -- tried all things

From: bijayant kumar <bijayant4u@dont-contact.us>
Date: Fri, 25 Jan 2008 08:30:23 +0000 (GMT)

I have already entered that line

cat /etc/security/limits.conf | grep nofile
* hard nofile 8192

No luck till now. I am restarting squid several times
to avoid the slow browsing.

-- Adrian Chadd <adrian@creative.net.au> wrote:

> On Fri, Jan 25, 2008, bijayant kumar wrote:
> > Hi,
> >
> > bijayant@bijayant ~ $ ulimit -n
> > 1024
>
> Thats your problem.
>
> Check your pam security file. under ubuntu its:
>
> adrian@cindy:~$ cat /etc/security/limits.conf | grep
> nofile
> # - nofile - max number of open files
> * hard nofile 8192
>
>
> Adrian
>
> >
> > I have tried to change this via giving the command
>
> > ulimit -HSn 8192
> >
> > /usr/include/bits/typesizes.h
> > /* Number of descriptors that can fit in an
> `fd_set'.
> > */
> > #define __FD_SETSIZE 8192
> >
> > rebooted my machine several times, also
> > cat /proc/sys/fs/file-max
> > 11032
> >
> > I am using gentoo.
> > --- Ding Deng <ding.deng@gmail.com> wrote:
> >
> > > bijayant kumar <bijayant4u@yahoo.com> writes:
> > >
> > > > I have tried it also, but in log files it
> still
> > > saying
> > > > 1024 file descriptors available. while squid
> is
> > > > compile with 8192.
> > >
> > > ulimit -n
> > >
> > > What's the output?
> > >
> >
> >
> > Bijayant Kumar
> >
> > Send instant messages to your online friends
> http://uk.messenger.yahoo.com
>
> --
> - Xenion - http://www.xenion.com.au/ - VPS Hosting -
> Commercial Squid Support -
> - $25/pm entry-level VPSes w/ capped bandwidth
> charges available in WA -
>

Bijayant Kumar

Send instant messages to your online friends http://uk.messenger.yahoo.com
Received on Fri Jan 25 2008 - 01:30:30 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST