tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Changing default CHILD_MAX and OPEN_MAX for all ports



A while back mrg updated some of the ports most likely to be running
on bigger machines to have a larger CHILD_MAX and OPEN_MAX (160=>1024
and 128=>1024 respectively). That was amd64, aarch64, evbarm,
evbarm64, i386 & sparc64.

I think it would make sense to set the defaults for all ports to the
higher value and then if anyone has a need to override it down for a
specific environment they can go ahead.

If anything there is an argument for autosizing them based on the
memory in a machine, but that might violate the POLS :)

What do people think?


On 7 May 2015 at 20:14, matthew green <mrg%netbsd.org@localhost> wrote:
> Module Name:    src
> Committed By:   mrg
> Date:           Thu May  7 19:14:56 UTC 2015
>
> Modified Files:
>         src/sys/arch/aarch64/conf: std.aarch64
>         src/sys/arch/amd64/conf: std.amd64
>         src/sys/arch/evbarm/conf: std.evbarm
>         src/sys/arch/evbarm64/conf: std.evbarm64
>         src/sys/arch/i386/conf: std.i386
>         src/sys/arch/sparc64/conf: std.sparc64 std.sparc64-32
>
> Log Message:
> bump CHILD_MAX and OPEN_MAX defaults on several platforms, both to 1024.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/conf/std.aarch64
> cvs rdiff -u -r1.9 -r1.10 src/sys/arch/amd64/conf/std.amd64
> cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/conf/std.evbarm
> cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm64/conf/std.evbarm64
> cvs rdiff -u -r1.33 -r1.34 src/sys/arch/i386/conf/std.i386
> cvs rdiff -u -r1.18 -r1.19 src/sys/arch/sparc64/conf/std.sparc64
> cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sparc64/conf/std.sparc64-32
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>


Home | Main Index | Thread Index | Old Index