Re: [GENERAL] shmctl EIDRM preventing startup

2007-07-02 Thread Michael Fuhr
On Mon, Jul 02, 2007 at 01:05:35PM +0200, Martijn van Oosterhout wrote: > If it's installed, this: > > lsof |grep SYSV > > Will list all processes attached to a SHM segemtn on the system. I > think ipcs can do the same. You can grep /proc/*/maps for the same > info. I already tried those; none s

Re: [GENERAL] shmctl EIDRM preventing startup

2007-07-02 Thread Martijn van Oosterhout
On Sun, Jul 01, 2007 at 10:39:01PM -0400, Tom Lane wrote: > Alvaro Herrera <[EMAIL PROTECTED]> writes: > > Maybe what is happening is that an entirely unrelated process created a > > segment with that ID, attached to it, and then it was deleted. I don't > > know how to check however. > > AFAIK, E

Re: [GENERAL] shmctl EIDRM preventing startup

2007-07-01 Thread Michael Fuhr
On Sun, Jul 01, 2007 at 10:06:58PM -0400, Tom Lane wrote: > Michael Fuhr <[EMAIL PROTECTED]> writes: > > Has anybody figured out if this is a Linux kernel bug? I might > > have until Monday morning if anybody can suggest something to look > > at; after that the admins will probably reboot and/or r

Re: [GENERAL] shmctl EIDRM preventing startup

2007-07-01 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > Maybe what is happening is that an entirely unrelated process created a > segment with that ID, attached to it, and then it was deleted. I don't > know how to check however. AFAIK, EIDRM should imply that the segment has been IPC_RMID'd but still exist

Re: [GENERAL] shmctl EIDRM preventing startup

2007-07-01 Thread Alvaro Herrera
Michael Fuhr wrote: > One of the servers I use (RHEL AS 4; Linux 2.6.9-34.ELsmp x86_64) > appears to be in the same state after a reboot as the server in the > "Restart after poweroutage" thread from a few months ago: > > http://archives.postgresql.org/pgsql-general/2007-03/msg00738.php > > As in

Re: [GENERAL] shmctl EIDRM preventing startup

2007-07-01 Thread Tom Lane
Michael Fuhr <[EMAIL PROTECTED]> writes: > One of the servers I use (RHEL AS 4; Linux 2.6.9-34.ELsmp x86_64) > appears to be in the same state after a reboot as the server in the > "Restart after poweroutage" thread from a few months ago: > http://archives.postgresql.org/pgsql-general/2007-03/msg0

[GENERAL] shmctl EIDRM preventing startup

2007-07-01 Thread Michael Fuhr
One of the servers I use (RHEL AS 4; Linux 2.6.9-34.ELsmp x86_64) appears to be in the same state after a reboot as the server in the "Restart after poweroutage" thread from a few months ago: http://archives.postgresql.org/pgsql-general/2007-03/msg00738.php As in the thread, "ipcs -a" shows no po