Search squid archive

Re: too many open files / Queue congestion

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

 



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



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

  Powered by Linux