Re: [HACKERS] IPC Memory problem with Postmaster on BSDi 4.x

From: "J(dot) Michael Roberts" <mirobert(at)cs(dot)indiana(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Roberth Andersson <roberth(at)jump-gate(dot)com>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] IPC Memory problem with Postmaster on BSDi 4.x
Date: 1999-08-01 18:58:08
Message-ID: Pine.GSO.4.10.9908011326150.12306-100000@school.cs.indiana.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 31 Jul 1999, Tom Lane wrote:

> Roberth Andersson <roberth(at)jump-gate(dot)com> writes:
> > IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
> > size=1063936, permission=600
> > FATAL 1: ShmemCreate: cannot create region
>
> The kernel error message ("Invalid argument", here) is often very
> unhelpful when dealing with shared memory and semaphore operations :-(

FWIW, I'm just installing v6.5.1 on Solaris 2.5 -- and lo! I had the
same problem, and sure enough, SHMEMMAX is 1meg, and -N 16 worked like a
charm! So Tom, looks like you're right. As always.

Since this was my first time compiling/installing pgsql, I've noticed a
couple of oopses (maybe mine) in the installation instructions... Who do
I talk to to update them? (Example: Instead of being able simply to type
"initdb" to get started, I had to specify a user with "initdb -u
postgres". That kind of stuff.)

Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-08-01 20:14:42 Re: [HACKERS] IPC Memory problem with Postmaster on BSDi 4.x
Previous Message Michael Alan Dorman 1999-08-01 16:57:34 Re: [HACKERS] Re: Bug#41277: postgresql 6.5.1-3 + sparc (sun4u) == nasty nasty crashes