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

From: Mike Mascari <mascarim(at)yahoo(dot)com>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] IPC Memory problem with Postmaster on BSDi 4.x
Date: 1999-07-31 18:17:05
Message-ID: 19990731181705.10793.rocketmail@web103.yahoomail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Just curious...why can't he just reboot?

Mike Mascari
(mascarim(at)yahoo(dot)com)

--- Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> wrote:
> > >I am running BSDI here. Try using
> pgsql/bin/ipcclean to remove the
> > >current shared memory stuff. Seems the old
> version did not clean up its
> > >shared memory.
> >
> > Thanks Bruce
> >
> > I tried to do that and it worked just fine the
> first time, and after that I
> > wrote "ipcs" to get a statistical if it really was
> cleaned or not, but I
> > got this ->
> >
> > Message Queues:
> > T ID KEY MODE OWNER
> GROUP
> >
> > Shared Memory:
> > T ID KEY MODE OWNER
> GROUP
> > m 1376259 0 --rwa------ postgres
> postgres
> > m 131076 0 --rw------- postgres
> user
> > m 786437 0 --rw------- postgres
> postgres
> >
> > Semaphores:
> > T ID KEY MODE OWNER
> GROUP
> >
> > Now I tried to use "ipcclean" once again, and I am
> always getting these
> > errors ->
> >
> > ipcrm: shmid(1376259): : Invalid argument
> > ipcrm: shmid(131076): : Invalid argument
> > ipcrm: shmid(786437): : Invalid argument
> >
> > I have no idea why, except maybe this could be
> something that is left over
> > since old and now the system doesn't know how to
> remove this Postgres stuff.
> >
> > If anyone have any clue about what I can do,
> please let me know, I would
> > appreciate it a lot.
>
> Go to /tmp, and do a ls -la. There will be some
> file in there that are
> left over that should be deleted. But now that I
> look, they aren't in
> /tmp anymore in 4.0. Use ipcs and ipcrm to manually
> delete them.

_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-07-31 18:26:10 Re: [HACKERS] selectivity calculation for or_clause is wrong ?
Previous Message Oliver Elphick 1999-07-31 17:26:22 Re: [HACKERS] Cannot insert into temp tables