Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2000 10:48:18 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Dmitry Baranov <dmitrybaranov@mail.ru>
Cc:        questions@FreeBSD.ORG
Subject:   Re: How I can to increase memory limit for some proccess
Message-ID:  <20000726104818.L17222@fw.wintelcom.net>
In-Reply-To: <0601.000726@mail.ru>; from dmitrybaranov@mail.ru on Wed, Jul 26, 2000 at 02:25:40PM %2B0400
References:  <0601.000726@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
* Dmitry Baranov <dmitrybaranov@mail.ru> [000726 03:21] wrote:
> Hello questions,
> 
>   I'm using PostgreSQL and I want to know how to increase memory
>   limits for a task.

See: LINT/NOTES:

#
# 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)"

For shared memory, look in NOTES/LINT for SHM* options, here's what I use:

options         SHMMAXPGS=262144
options         SHMSEG=32

Gives me about 300 megabytes of shared memory.

>   Another issue:
> 
>   How to create virtual partition using RAM?

man mfs.

-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?20000726104818.L17222>