*BSD News Article 43446


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newshost.marcam.com!uunet!in1.uu.net!news.BSDI.COM!usenet
From: Tony Sanders <sanders@earth.com>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Cron "No more prcesses" spawning nntpsend
Date: 16 Mar 1995 17:06:08 GMT
Organization: Berkeley Software Design, Inc.
Lines: 15
Message-ID: <3k9r60$cle@delos.BSDI.COM>
References: <3k4hs4$h9q@maria.bga.com>
NNTP-Posting-Host: austin.bsdi.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
To: dpm@bga.com
X-URL: news:3k4hs4$h9q@maria.bga.com

-- 
You are hitting the per user process limit.  The easiest way
around this is to write a little shell script:
    #!/bin/sh
    limit maxproc 128
    limit datasize 32000000
    exec "$@"
and then run the news scripts under it, e.g.:
    relimit /usr/contrib/lib/news/bin/nntpsend

If you have a dedicated machine for news and you believe
it safe for you situation, you can change the global default by
setting ``options "CHILD_MAX=128"'' in the kernel configuration
file (this doesn't work in V1.1 but does in V2.0).