dbTalk Databases Forums  

Re: A couple serious errors

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss Re: A couple serious errors in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike Richards
 
Posts: n/a

Default Re: A couple serious errors - 11-18-2004 , 09:48 AM






On Thu, 18 Nov 2004 10:17:21 -0500, Tom Lane <tgl (AT) sss (DOT) pgh.pa.us> wrote:
Quote:
Mike Richards <mrmikerich (AT) gmail (DOT) com> writes:
Over the past couple days I started seeing errors like this in my server logs:
WARNING: terminating connection because of crash of another server process

This is a consequence of an earlier failure --- tell us about what
happened just before that.
Ok, it just happened again, and this is what showed up in the log just before:

PANIC: XX000: stuck spinlock (0x4035a0a0) detected at lwlock.c:242
LOCATION: s_lock_stuck, s_lock.c:36
LOG: 00000: server process (PID 13804) was terminated by signal 6
LOCATION: LogChildExit, postmaster.c:2087
LOG: 00000: terminating any other active server processes
LOCATION: CleanupProc, postmaster.c:2008

Earlier in the night, however, it also crashed and this is what preceded it:

LOG: 00000: server process (PID 20195) was terminated by signal 11
LOCATION: LogChildExit, postmaster.c:2087
LOG: 00000: terminating any other active server processes
LOCATION: CleanupProc, postmaster.c:2008

I don't know if it's relevant, but Postgres does bring itself back up
after the crash:

LOG: 00000: all server processes terminated; reinitializing
LOCATION: reaper, postmaster.c:1920
LOG: 00000: database system was interrupted at 2004-11-18 15:06:58 GMT

It'll probably crash again in 3-4 hours; if I get any more info I'll pass it on.

Quote:
Then tonight I started getting one like this:
FATAL: semctl(0, 0, SETVAL, 0) failed: Identifier removed

I'm thinking that you've got hardware problems (bad RAM). There isn't
any way that Postgres would delete its semaphores during normal
operation.
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match



Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: A couple serious errors - 11-18-2004 , 09:56 AM






Mike Richards <mrmikerich (AT) gmail (DOT) com> writes:
Quote:
PANIC: XX000: stuck spinlock (0x4035a0a0) detected at lwlock.c:242
...
LOG: 00000: server process (PID 20195) was terminated by signal 11
...
FATAL: semctl(0, 0, SETVAL, 0) failed: Identifier removed
If you were getting just one of these then I might think you'd come
across a previously unknown PG bug. Given the variety of failure modes,
though, I'm strongly inclined to suspect that the common root cause is
flaky RAM. Time to get out memtest86 or some such tool.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.