Re: [squid-users] Too many open files

From: HBK <hz@dont-contact.us>
Date: Sat, 15 Feb 2003 17:22:17 +0500

How can I instruct kernel to allow more open files

Regards
Hassan

---------- Original Message -----------
From: Henrik Nordstrom <hno@squid-cache.org>
To: HBK <hz@magic.net.pk>
Sent: Sat, 15 Feb 2003 12:48:53 +0100
Subject: Re: [squid-users] Too many open files

> You have most likely forgot to instruct your kernel to allow more
> open files globally in the system.
>
> This is not the per-process limits set by ulimit etc, but the global
> limits for the whole system set in your kernel configuration.
>
> Regards
> Henrik
>
> HBK wrote:
> >
> > I have setup squid cache with follwoing settings
> >
> > Squid Cache: Version 2.5.STABLE1-20030214
> > configure options: --prefix=/usr/local/squid --enable-async-io --enable-
snmp
> >
> > FIle descriptors are also increased to 16384 with all the settings in
place,
> > (ulimit, types.h file etc)
> >
> > Some times I get following errors in cache.log
> > --------------------------------------------------------------------------

---
> > 2003/02/15 14:59:39| httpAccept: FD 10: accept failure: (24) Too many open
> > files
> > 2003/02/15 14:59:39| httpAccept: FD 10: accept failure: (24) Too many open
> > files
> > 2003/02/15 14:59:39| comm_open: socket failure: (24) Too many open files
> > 2003/02/15 14:59:39| httpAccept: FD 10: accept failure: (24) Too many open
> > files
> > --------------------------------------------------------------------------
---
> > 
> > please advise what should I do to resolve this
> > 
> > Thanks
------- End of Original Message -------
Received on Sat Feb 15 2003 - 05:21:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:24 MST