Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 1996 13:02:50 -0600 (CST)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        karl@mcs.net (Karl Denninger)
Cc:        hackers@FreeBSD.org
Subject:   Re: Setting maximum RAM consumption by a process
Message-ID:  <199611131902.NAA23600@brasil.moneng.mei.com>
In-Reply-To: <199611131808.MAA15951@Jupiter.Mcs.Net> from "Karl Denninger" at Nov 13, 96 12:08:48 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi folks,
> 
> I know how to do this for BSDI (maximum segment size) but not for FreeBSD,
> and the same parameters don't appear to work.
> 
> Basically, our news server is now reaching a WSS of 100MB+, and we need to
> increase it (because we're getting malloc failures and death of the process
> :-)
> 
> The system has lots of RAM, so that's not a problem.
> 
> Anyone got the magic words for the config file?

Sorry to be causing your news server such grief, Karl :-)

metropolis# more /sys/i386/conf/NEWS*
[...]
maxusers        256

#options                "MAXDSIZ=(256UL*1024*1024)"
options         "MAXDSIZ=268435456UL"
#options                "DFLDSIZ=(192UL*1024*1024)"
options         "DFLDSIZ=201326592UL"

options         "MAXMEM=262720"         #real memory  = 67698688 (16528 pages)
					#+192MB = 256MB

Happy newsfeeding,

... JG



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