Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 1996 13:37:39 -0500 (EST)
From:      John Dyson <dyson@dyson.iquest.net>
To:        karl@Mcs.Net (Karl Denninger)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Setting maximum RAM consumption by a process
Message-ID:  <199611131837.NAA00686@dyson.iquest.net>
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?
> 
You can set it dynamically with ulimit (up it to 128M.)  Any further,
you can set the config variables DFLDSIZ and MAXDSIZ to practically
anything you want.  So, for 192MB

options "MAXDSIZ=201326592"
options "DFLDSIZ=201326592"

John




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