Re: Linux-2.2.n, patch required for more FD?

From: Miquel van Smoorenburg <list-squid@dont-contact.us>
Date: 2 Sep 1999 13:43:56 +0200

In article <cistron.37CDFE06.FAB4779A@usp.ac.fj>,
Simon Greaves <Simon.Greaves@usp.ac.fj> wrote:
>Sorry for the nerdy question, I've searched the FAQ and elsewhere
>(bandwidth permitting), I've read the notes on 2.0.n kernels etc. but
>not found much info on 2.2.n. I've build squid, runs fine, but states it
>has only 1024 filehandles. However:
>
> cat /proc/sys/fs/file-max => 4096.
>

That's the system-wide limit, for all processes combined.

>I tried changing OPEN_MAX in /usr/include/linux/limits.h and
>reconfiguring and recompiling, but no change. Do I need a kernel patch?

You need 2.2.12, that kernel has the unlimited-filedescriptors
patch officially integrated. Then you need to up the ulimit ...[text deleted]

Hmm, never mind, I'll just send an update for the FAQ to Duane. As
soon as squid.nlanr.net is reachable again, that is.

Mike.

-- 
... somehow I have a feeling the hurting hasn't even begun yet
	-- Bill, "The Terrible Thunderlizards"
-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels@cistron.nl (Miquel van Smoorenburg)
Received on Thu Sep 02 1999 - 05:57:03 MDT

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