pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gaetano Mendola <mendola@bigfoot.com>
Cc: Pavel Veretennikov <vermut@kid.lv>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: could not fork new process for connection: Cannot allocate memory
Date: Mon, 26 Jul 2004 01:24:04 -0400
Message-ID: <19182.1090819444@sss.pgh.pa.us> (raw)
In-Reply-To: <41043D33.7070806@bigfoot.com>
References: <opsbfuzdnnuo8gh7@developer3>
	<41043D33.7070806@bigfoot.com>

Gaetano Mendola <mendola@bigfoot.com> writes:
> Pavel Veretennikov wrote:
> | What could be a problem? About 3G of shared memory is allocated to PG,
> | 850000 shared_buffers.

> I don't know what you problem can be but are you sure you need that
> *very huge* ammount of shared memory ?

Conventional wisdom is that setting shared_buffers higher than a few
tens of thousands is a bad idea, no matter how much RAM you have.
See the pgsql-performance archives.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <19182.1090819444@sss.pgh.pa.us>
Permalink:  ../19182.1090819444@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19182.1090819444@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mendola@bigfoot.com, vermut@kid.lv
  Subject: Re: could not fork new process for connection: Cannot allocate memory
  In-Reply-To: <19182.1090819444@sss.pgh.pa.us>
  References: <opsbfuzdnnuo8gh7@developer3> <41043D33.7070806@bigfoot.com> <19182.1090819444@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox