pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: DHSC Webmaster <webmaster@dhs-club.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PG 7.0.3 & RH 7 IPC problems?
Date: Thu, 29 Mar 2001 14:30:52 -0500
Message-ID: <23644.985894252@sss.pgh.pa.us> (raw)
In-Reply-To: <3AC37E5E.D729E5BF@dhs-club.com>
References: <3AC350FD.877FE31D@dhs-club.com>
	<22534.985882884@sss.pgh.pa.us>
	<3AC36EF0.12A3E9E4@dhs-club.com>
	<22997.985888435@sss.pgh.pa.us>
	<3AC37E5E.D729E5BF@dhs-club.com>

DHSC Webmaster <webmaster@dhs-club.com> writes:
> [root@atl01371 linux]# ipcs

> ------ Shared Memory Segments --------
> key       shmid     owner     perms     bytes     nattch    status
> 0x0052e2ca 36864     postgres  700       144       5
> 0x0052e2c1 26625     postgres  600       1104896   5
> 0x0052e2c7 37890     postgres  600       66060     5

> ------ Semaphore Arrays --------
> key       semid     owner     perms     nsems     status
> 0x0052e2ce 6144      postgres  600       16
> 0x0052e2cf 6145      postgres  600       16

> ------ Message Queues --------
> key       msqid     owner     perms     used-bytes  messages

> These values don't seem to change from one moment to the next although
> there are of course varying numbers of backends running at any given
> moment.

These objects are created by the postmaster and persist as long as the
postmaster does.  They *should* go away when you shut down the
postmaster, but perhaps they didn't for some reason.

Anyway, I suggest (a) shut down postmaster, (b) use ipcs to make sure
there are no postgres shmem or sema objects (delete 'em with ipcrm if
necessary), and (c) try to start postmaster with new -B/-N values.

If step (c) fails when there are no pre-existing objects, then it must
be that you have not managed to increase the kernel's limits on shared
memory.  The exact incantations needed to accomplish that trick vary
across systems, so I can't offer a lot of help there.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <23644.985894252@sss.pgh.pa.us>
Permalink:  ../23644.985894252@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23644.985894252@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, webmaster@dhs-club.com
  Subject: Re: PG 7.0.3 & RH 7 IPC problems?
  In-Reply-To: <23644.985894252@sss.pgh.pa.us>
  References: <3AC350FD.877FE31D@dhs-club.com> <22534.985882884@sss.pgh.pa.us> <3AC36EF0.12A3E9E4@dhs-club.com> <22997.985888435@sss.pgh.pa.us> <3AC37E5E.D729E5BF@dhs-club.com> <23644.985894252@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