*BSD News Article 49772


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!in2.uu.net!news.sprintlink.net!in1.uu.net!zib-berlin.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Limit to max no processes per user?
Date: 24 Aug 1995 10:19:30 +0200
Organization: Private U**x site, Dresden.
Lines: 18
Message-ID: <41hcmi$95t@bonnie.tcd-dresden.de>
References: <DDIBu9.9J0@seeware.DIALix.oz.au> <419ng1$qeq@bonnie.tcd-dresden.de> <41bojq$r4v@oscar.cc.gatech.edu> <41du3f$g12@gate.sinica.edu.tw>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Brian Tao <taob@gate.sinica.edu.tw> wrote:

>    This is the absolute process limit though.  When I start up tcsh,
>I am given 40 processes by default.  When I do an "unlimit", then I
>get 179 processes (20+16*10-1).  I was wondering about the default
>limit, which sounds like a shell thing (although I only see a single
>setrlimit() in the csh code).

<sys/syslimits.h>:

#ifndef CHILD_MAX
#define CHILD_MAX                  40   /* max simultaneous processes */
#endif
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)