Re: [squid-users] too many open files / Queue congestion

From: Adrian Chadd <[email protected]>
Date: Fri, 19 May 2006 08:19:32 +0800

This may be also influenced by PAM and resource limits.
On my Ubuntu desktop:

# Sets up user limits according to /etc/security/limits.conf
# (Replaces the use of /etc/limits in old login)
session required pam_limits.so

I had to add this into limits.conf to get a decent amount of filedescriptors;
the default amount was locked down to 1024 fds per non-root process:

* hard nofile 8192

On Thu, May 18, 2006, Henrik Nordstrom wrote:
> tor 2006-05-18 klockan 18:15 +0200 skrev Mark Elsen:
>
> > - http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.4
> > - You also need to increase the max. allowed open files per process;
> > See :
> >
> > /proc/sys/fs/file-max
>
> file-max is the system global limit for the whole system. Per process
> limits is set by ulimit.
>
> Regards
> Henrik
Received on Thu May 18 2006 - 18:21:32 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT