Subject: Re: open files
To: None <port-mac68k@NetBSD.ORG>
From: Tore Halset <halset@pvv.ntnu.no>
List: port-mac68k
Date: 10/14/1997 15:46:34
[Allen Briggs]
>[Tore Halset]
> > I need to increase the walue for maximum open files per process to about
> > 300. How do I do it?
> 
> I don't see an easy way to set this by default, off-hand, except by
> changing init_main() in the kernel.  However, nothing's preventing your
> program from running setrlimit to raise the limit.  As a normal user in
> bash, I just ran "ulimit -n 300" and it stuck.

I need to run samba with this limit. I guess I will have to change 
OPEN-MAX inn /usr/include/sys/syslimits.h before i compile samba? And run
smb and nmb in a subshell with "ulimit -n 300". Is this correct?

 - Tore.