*BSD News Article 47687


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!news.sprintlink.net!howland.reston.ans.net!swrinde!sgigate.sgi.com!news1.best.com!blob.best.net!not-for-mail
From: dillon@best.com (Matt Dillon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: process limit
Date: 31 Jul 1995 16:14:30 -0700
Organization: Best Internet Communications, Inc. (info@best.com)
Lines: 31
Distribution: best
Message-ID: <3vjo4m$ih@blob.best.net>
References: <DCL7FF.Ko@curia.ucc.ie>
NNTP-Posting-Host: blob.best.net

:In article <DCL7FF.Ko@curia.ucc.ie>,
:Turlough FitzPatrick <turlough@odyssey.ucc.ie> wrote:
:>hi there,
:>
:>How can i remove the limit on the nmber of processes
:>allowed to run at any one time. Is this advisable to do?
:>Just increasing the limit may be enough.
:>thanks.

    from a csh or a tcsh:

    % limit maxproc
    maxproc 40
    % limit maxproc unlimit
    % limit maxproc
    maxproc 2067
    %

    Mileage will vary, of course, depending on the number of users
    your machine is configured for, but usually you get at least
    256.

    Changing the maxproc limit effects the process the limit command was given
    from and all children of that process.  It is not a system-wide parameter.

    Unfortunately, I know of no way to set the limit from a /bin/sh shell...
    really silly considering that most system startup and admin scripts are
    run with /bin/sh.

					    -Matt