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

From: Adrian Chadd <[email protected]>
Date: Fri, 25 Jan 2008 17:04:31 +0900

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 -
Received on Fri Jan 25 2008 - 00:53:57 MST

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