Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 1995 02:35:18 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        CVS-commiters@freefall.FreeBSD.org, cvs-sys@freefall.FreeBSD.org, joerg@freefall.FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/conf LINT
Message-ID:  <199508271635.CAA23170@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified:    sys/i386/conf  LINT
>  Log:
>  Add a comment that a user with many open windows under X might need to
>  bump CHILD_MAX.
>  
>  Closes PR # conf/708: CHILD_MAX set rather low...
>  
>  Submitted by:	careilly@monoid.cs.tcd.ie

Aargh.  The user should just increase the resource limit (`limit maxproc
nnn' or `unlimit maxproc' in csh; `ulimit -u nnn' in bash; not supported
in sh :-().

Changing CHILD_MAX in the kernel breaks any applications that depend on
its fixed value (not many; perhaps only POSIX test suites that check that
CHILD_MAX works :-).  Changing the limit at runtime breaks these
applications too, but at least it only applies to the current process
tree.

Changing CHILD_MAX everywhere would break binary compatibility.  So does
using limit at runtime, but the damage is limited.

Similarly for OPEN_MAX.

Bruce



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