Re: postgres start problems with memory - Mailing list pgsql-general

From Josh Close
Subject Re: postgres start problems with memory
Date
Msg-id 4a0cafe204093013507fc6c35f@mail.gmail.com
Whole thread Raw
In response to Re: postgres start problems with memory  (Greg Stark <gsstark@mit.edu>)
List pgsql-general
On 30 Sep 2004 16:40:58 -0400, Greg Stark <gsstark@mit.edu> wrote:
>
> Josh Close <narshe@gmail.com> writes:
>
> > To reduce the request size (currently 34037760 bytes),
> ...
> > root # sysctl -a | grep shm
> > kernel.shmmni = 4096
> > kernel.shmall = 31584400
> > kernel.shmmax = 31584400
>
> So it's currently looking for 34M and you're setting the maximum to 31M.
>
> --
> greg


We'll, you're definitely right about that. Is there a certain standard
to this? Say if I use the "reasonable value" formula. What would be a
good size for the buffer then? Should it be a certain %age of
available RAM?

-Josh

pgsql-general by date:

Previous
From: Josh Close
Date:
Subject: Re: COPY FROM STDIN not in local file
Next
From: Tom Lane
Date:
Subject: Re: Undefined symbols: _poll