Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Dec 1999 14:54:24 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Evren Yurtesen <yurtesen@ispro.net.tr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /kernel: proc: table is full 
Message-ID:  <71189.944571264@axl.noc.iafrica.com>
In-Reply-To: Your message of "Tue, 07 Dec 1999 10:13:29 %2B0200." <Pine.BSF.4.05.9912071011560.87718-100000@finland.ispro.net.tr> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 07 Dec 1999 10:13:29 +0200, Evren Yurtesen wrote:

> Right after I have setup /etc/hosts.allow file I was
> trying if it is working good but at the same time I got
> this message in my logs.

I'm not sure that the two are related if you're using a modern FreeBSD.
It's possible you have a buggy inetd, but you'd need to send us the
output of the following command:

	ident /usr/sbin/inetd

It may simply be that it's coincidental that you've noticed these
messages while you're verifying your /etc/hosts.allow configuration.
The messages indicates that a call to fork() failed because creating a
new process would break the maxproc limit in the kernel.

You'll find the code which generates the error message in

	src/sys/kern/kern_fork.c

The maxproc variable is declared in 

	src/sys/conf/param.c

		or

	src/sys/i386/conf/param.c

depending on the version of FreeBSD you're using.  You'll see that it's
a function of the kernel configuration value ``maxusers''.  If you have
maxusers set very low (say 16), you might want to bump it up, provided
that you're simply running a large number of processes.

NB!!! You bump maxusers by changing your custom kernel config file, not
by mucking about with param.c! :-)

But let us know what version of inetd you're running by supplying the
output of the ident command above and we'll be able to tell you whether
you have a buggy version.

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71189.944571264>