Search squid archive

Re: Unable to increase filedescriptor limit -- tried all things

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx> 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@xxxxxxxxx> wrote:
> > 
> > > bijayant kumar <bijayant4u@xxxxxxxxx> 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 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux