Re: postgres start problems with memory

From: Josh Close <narshe(at)gmail(dot)com>
To: POSTGRES <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgres start problems with memory
Date: 2004-09-30 20:50:22
Message-ID: 4a0cafe204093013507fc6c35f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 30 Sep 2004 16:40:58 -0400, Greg Stark <gsstark(at)mit(dot)edu> wrote:
>
> Josh Close <narshe(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-09-30 21:06:43 Re: Undefined symbols: _poll
Previous Message Josh Close 2004-09-30 20:44:18 Re: COPY FROM STDIN not in local file