Re: File desc num. on FreeBSD 2.1.6

From: Daniel O'Callaghan <[email protected]>
Date: Fri, 29 Nov 1996 09:13:28 +1100 (EST)

On Thu, 28 Nov 1996, Zivojnovic Ranko wrote:

> I'm posting this Q here since most probably you have played with it :).
>
> I have just installed FreeBSD 2.1.6R to my machine, and I was wandering
> if there is a way to safely increase number of available file descriptors. Currently
> "configure" gives me max. of 256.

You can use the 'limit' command in csh, except that RunCache is now
Bourne Shell.

Best to rebuild your kernel. Read the file /usr/src/sys/i386/conf/LINT
for all of the documented kernel options. The one you are after is
options "OPENMAX=1024"

If you are just using a generic kernel,
cd /usr/src/sys/i386/conf
cp GENERIC SQUID
vi SQUID
[change ident to SQUID and add the options "OPENMAX=1024"]
config SQUID
cd ../../compile/SQUID
make depend
make

Danny
Received on Thu Nov 28 1996 - 14:14:31 MST

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