From owner-freebsd-questions Wed Jul 26 10:48:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6BFB037BE95 for ; Wed, 26 Jul 2000 10:48:23 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e6QHmIA20926; Wed, 26 Jul 2000 10:48:18 -0700 (PDT) Date: Wed, 26 Jul 2000 10:48:18 -0700 From: Alfred Perlstein To: Dmitry Baranov Cc: questions@FreeBSD.ORG Subject: Re: How I can to increase memory limit for some proccess Message-ID: <20000726104818.L17222@fw.wintelcom.net> References: <0601.000726@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <0601.000726@mail.ru>; from dmitrybaranov@mail.ru on Wed, Jul 26, 2000 at 02:25:40PM +0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Dmitry Baranov [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