Re: maxfiles in kernel

From: Ralph Huntington (rjh@mohawk.net)
Date: 05/29/01


Date: Tue, 29 May 2001 09:17:22 -0400 (EDT)
From: Ralph Huntington <rjh@mohawk.net>
To: "Timothy S. Bowers" <security@nol.co.za>

In the kernel config

maxusers 512

gives 16424 maxfiles

256 gives half that and 128 half again

On Tue, 29 May 2001, Timothy S. Bowers wrote:

> Hi Axel,
>
> Mine was 1064 and I've changed it to 4096. I've also changed kern.maxfilesperproc to 4096.
> I hope this holds :)
>
> What do you think I should put in the kernel for maxusers ?
>
> Regards,
>
> Timothy Bowers
>
>
> At 01:54 PM 5/29/01, you wrote:
> >Hi there,
> >You can use sysctl -w kernel.maxfiles=<number> to set it manually or
> >change the maxusers value in your kernel config.
> >Greetz,
> >Axel
> >
> >--
> >Met vriendelijke groet,
> >VIA NET.WORKS Nederland
> >
> >Axel Scheepers
> >Operations
> >phone +31 40 239 33 93
> >fax +31 40 239 33 11
> >e-mail eindhoven.beheer@vianetworks.nl
> >http://www.vianetworks.nl/
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message
>

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