Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 1997 04:43:39 -0800 (PST)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/kern init_main.c src/sys/conf options src/sys/i386/conf LINT
Message-ID:  <199701271243.EAA04733@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         97/01/27 04:43:38

  Modified:    sys/conf  options
  Log:
  Removed bogus options CHILD_MAX and OPEN_MAX.
  
  Put obsolete GATEWAY option back in opt_defunct.h.  It's the only
  significant option that has gone away since 2.1.6, so warning about
  it might be useful.
  
  Revision  Changes    Path
  1.27      +5 -4      src/sys/conf/options

  Modified:    sys/i386/conf  LINT
  Log:
  Removed bogus options CHILD_MAX and OPEN_MAX.
  
  Revision  Changes    Path
  1.310     +0 -13     src/sys/i386/conf/LINT

  Modified:    sys/kern  init_main.c
  Log:
  Set the soft openfiles limit to maxfiles instead of to NOFILE.
  The limit is now only used by init, so it may as well be "infinite".
  Don't use RLIM_INFINITY, since setrlimit() doesn't allow setting
  that value.  Use maxfiles instead of RLIM_INFINITY for the hard
  limit for the same reason.
  
  Similarly for the maxprocesses limits (use the "infinite" value of
  maxproc instead if MAXUPRC and RLIM_INFINITY).
  
  NOFILES, MAXUPRC, CHILD_MAX and OPEN_MAX are no longer used in
  /usr/src and should go away.  Their values are almost guaranteed to
  be wrong now that login.conf exists, so anything that uses the values
  is broken.  Unfortunately, there are probably a lot of ports that
  depend on them being defined.
  
  The global limits maxfilesperproc and maxprocperuid should go away
  too.
  
  Revision  Changes    Path
  1.55      +5 -2      src/sys/kern/init_main.c



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