Re: running out of filedescriptors

From: David J N Begley <david@dont-contact.us>
Date: Thu, 25 Feb 1999 02:37:26 +1100 (EST)

On Mon, 22 Feb 1999, JinSoo Seo wrote:

> My squid cache complain that:
> WARNING! Your cache is running out of filedescriptors
[...]
> # uname -a
> SunOS casanova 5.5 Generic sun4m sparc sun4m
> # squid -v
> Squid Cache: Version 2.2.PRE2

As per the FAQ:

  http://squid.nlanr.net/Squid/FAQ/FAQ-11.html#ss11.4

under the heading "Solaris", add:

  set rlim_fd_max = 4096
  set rlim_fd_cur = 1024

to your "/etc/system" file and reboot the computer. For SunOS 5.5.1 with
Squid 2.1.PATCH2 I didn't need to do anything else mentioned in the FAQ (no
source changes, no Makefile changes) as everything required was picked up with
Squid was recompiled (as it needs to be after making the above change and
rebooting).

Cheers..

dave
Received on Wed Feb 24 1999 - 10:13:05 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:42 MST