Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!husc6!rice!sun-spots-request
From: richard@torch.UUCP (Richard Nuttall)
Newsgroups: comp.sys.sun
Subject: Re: extending the max number of open files.
Keywords: SunOS
Message-ID: <619@brazos.Rice.edu>
Date: 28 Jul 89 09:04:55 GMT
Sender: root@rice.edu
Organization: Sun-Spots
Lines: 21
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 8, Issue 89, message 3 of 14

meulenbr@cstw01.prl.philips.nl (Frans Meulenbroeks) writes:

>Can someone tell me how I can extend the max. number of open files?  I've
>obtained a program which opens a lot of files, and I would prefer not to
>modify the program. 

One of the benefits of SunOS4.0 is that you can have more open files than
the usual 20.

Looking in /sys/sys/param.h on my Sun386 gives NOFILE (max number of open
files per process) to be 64.

If this still isn't enough, you could try changing this value and
rebuilding the kernel, though I take no responsibility for anything that
might happen as a result.

<#include "std_disclaimer.h">

Richard Nuttall               |    ukc!stc!datlog!torch!richard
Torch Technology Ltd.         |    richard@torch.co.uk
Cambridge England             |    0223 841000 X 308