Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 16:34:33 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        cove.schneider@clearink.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Unable to use all swap? (How to up proc. memory limits?)
Message-ID:  <20000913163433.A12231@fw.wintelcom.net>
In-Reply-To: <20000913124513.R79801@clearink.com>; from cove@clearink.com on Wed, Sep 13, 2000 at 12:45:13PM -0700
References:  <20000913124513.R79801@clearink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Cove Schneider <cove@clearink.com> [000913 12:45] wrote:
> Hi All,
> 
> For some reason malloc(3) fails with an out of memory error even
> though the machine has ~500MB swap left. Am I missing something
> here? I'm guessing there is some setting in the config file that
> I don't know about...
> 
> Any clues/help would be greatly appreciated.

See  the kernel options:

# Certain applications can grow to be larger than the 128M limit
# that FreeBSD initially imposes.  Below are some options to
# allow that limit to grow to 256MB, and can be increased further
# with changing the parameters.  MAXDSIZ is the maximum that the
# limit can be set to, and the DFLDSIZ is the default value for
# the limit.  You might want to set the default lower than the
# max, and explicitly set the maximum with a shell command for processes
# that regularly exceed the limit like INND.
#
options         MAXDSIZ="(256*1024*1024)"
options         DFLDSIZ="(256*1024*1024)"

-Alfred


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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