Re: [squid-users] Problem with Filedescriptors

From: Masood Ahmad Shah <masood@dont-contact.us>
Date: Fri, 19 Sep 2003 12:01:33 +0500

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 autoconf.h.in 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.

-- 
Best Regs,
Masood Ahmad Shah
System Administrator
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
|   * * * * * * * * * * * * * * * * * * * * * * * *
|   Fibre Net (Pvt) Ltd. Lahore, Pakistan
|   Tel: +92-42-6677024
|   Mobile: +92-300-4277367
|   http://www.fibre.net.pk
|   * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
----- Original Message ----- 
From: "Gustavo" <software@ciat.cgiar.org>
To: "Squid Users" <squid-users@squid-cache.org>
Sent: Friday, September 19, 2003 1:52 AM
Subject: [squid-users] Problem with Filedescriptors
| I've had installed the Squid Cache: Version 2.5.STABLE2-20030411 pon =
| Solaris 8 Server and iva have this error messages in the cache.log=20
|
| 2003/09/18 15:15:09| WARNING! Your cache is running out of =
| filedescriptors
|
| This  error stop the squid services and i must to restart it =
| againg...any idea about the solution?
|
| thanks=20
|
|
|
|
Received on Fri Sep 19 2003 - 01:02:18 MDT

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