Re: file descripters

From: Dancer <dancer@dont-contact.us>
Date: Thu, 13 Aug 1998 14:47:26 +1000

Kelly Prescott wrote:
>
> Could someone point me to some documentation on making more file
> descripters available to squid 1.1.22. I changed my Linux kernel file
> limits and recompiled the kernel, but when the squid autoconf runs, it
> still says that only 256 file descripters are available. When I cat the
> files in /proc/sys/.... I see that I have 1024 descripters.
> Do I need to recompile glibc? Is there something else I am missing?
> tia
>
> Kelly Prescott

The patches to the kernel should also change a couple of your libc
headers. You should also do something like:

echo 16384 > /proc/sys/kernel/file-max

..to increase the system-wide limit (which is a soft-limit) as opposed
to the per-process limits (a hard limit that you patched around).

D

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT d- s++: a C++++$ UL++++B+++S+++C++H++U++V+++$ P+++$ L+++ E-
W+++(--)$ N++ w++$>--- t+ 5++ X+() R+ tv b++++ DI+++ e- h-@ 
------END GEEK CODE BLOCK------
Received on Wed Aug 12 1998 - 21:49:18 MDT

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