Subject: Re: Ulimit problem
To: Blaz Zupan <blaz.zupan@uni-mb.si>
From: Timothy Newsham <newsham@aloha.net>
List: current-users
Date: 07/30/1995 16:11:27
> > process(processes)   40
> > nofiles(descriptors) 64
> > 
> > That limit of processes and fd's is just way too low, inetd is setting them
> > when it forks (?) there must be a way to increase this? ( I run sendmail
> > from inetd as it is part of our security policy)

In BSD/OS I set this from /etc/rc.  In NetBSD I havent because
the shell doesnt support the "limit" or "unlimit" commands.

I'm sure you could raise the limit for just inetd if you wanted
to.  something like:

    /bin/csh -c "unlimit process; unlimit nofiles; inetd"

might work.  A word of warning.. some poorly written programs
dont like running with max descriptors > 64.  The BSD/OS mountd
for example would dump core whenever run with a large max fd's.

                                   Tim N.