pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Koczan <pjkoczan@gmail.com>
To: Laszlo Nagy <gandalf@shopzeus.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: SHMMAX problem - how much is needed?
Date: Tue, 13 Nov 2007 15:08:28 -0600
Message-ID: <4544e0330711131308p62a78e84t4380df68d1624ef5@mail.gmail.com> (raw)
In-Reply-To: <473A0242.3070002@shopzeus.com>
References: <473A0242.3070002@shopzeus.com>

> Minimum shared mem:  140731400 bytes = 135.0 MB
> Maximum shared mem:  268435456 bytes = 256.0 MB
>
> kern.ipc.shmmin="140731400"
> kern.ipc.shmmax="268435456"
>
> Nov 13 20:46:19 neptunus postgres[669]: [1-2] DETAIL:  Failed system
> call was shmget(key=5432001, size=21725184, 03600).

The shared memory request, according to the error message, was for ~20
MB, far less than the 135 MB minimum limit you put in the kernel.
You'll need to lower the limit or raise your request size, probably
with regards to shared_buffers, as I think you're only allocating 2 MB
to shared_buffers. You'll want to raise that on a production machine.



view thread (6+ messages)  latest in thread

Message-ID: <4544e0330711131308p62a78e84t4380df68d1624ef5@mail.gmail.com>
Permalink:  ../4544e0330711131308p62a78e84t4380df68d1624ef5@mail.gmail.com/
Also on:    postgresql.org/message-id/4544e0330711131308p62a78e84t4380df68d1624ef5@mail.gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pjkoczan@gmail.com, gandalf@shopzeus.com
  Subject: Re: SHMMAX problem - how much is needed?
  In-Reply-To: <4544e0330711131308p62a78e84t4380df68d1624ef5@mail.gmail.com>

* 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