Re: [squid-users] re: Squid Performance problems

From: Duane Wessels <>
Date: Tue, 13 Mar 2001 15:37:40 -0700 (MST)

On Tue, 13 Mar 2001, Mike Richards wrote:

> Folks,
> I'm running Solaris 2.6 on a 2xCpu 256mb
> E250....when ever my squid process gets to 1000
> filedescriptors used the response time begins
> to TANK......I'm running 2.3r4...can't run
> asyncio, it hangs......

make more file descriptors available?

 11.4.2. Solaris

  Add the following to your /etc/system file to increase your maximum
  file descriptors per process:

          set rlim_fd_max = 4096

  Next you should re-run the configure script in the top directory so
  that it finds the new value. If it does not find the new limit, then
  you might try editing include/autoconf.h and setting #define
  DEFAULT_FD_SETSIZE by hand. Note that include/autoconf.h is created
  from every time you run configure. Thus, if you edit it
  by hand, you might lose your changes later on.

  If you have a very old version of Squid (1.1.X), and you want to use
  more than 1024 descriptors, then you must edit src/Makefile and enable
  $(USE_POLL_OPT). Then recompile squid.

  Jens-S. Voeckler <mailto:voeckler at rvs dot uni-hannover dot de>
  advises that you should NOT change the soft limit (rlim_fd_cur) to
  anything larger than 256. It will break other programs, such as the
  license manager needed for the SUN workshop compiler. Jens-S. also
  says that it should be safe to raise the limit as high as 16,384.
Received on Tue Mar 13 2001 - 15:37:41 MST

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