Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group