Skip site navigation (1) Skip section navigation (2)

Re: Postgres server goes in recovery mode repeteadly

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kunal sharma <ksharma(dot)linux(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Postgres server goes in recovery mode repeteadly
Date: 2009-09-29 16:28:03
Message-ID: 11214.1254241683@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-hackers
kunal sharma <ksharma(dot)linux(at)gmail(dot)com> writes:
>         We are using Postgres 8.4 and its been found going into recovery

8.4.what?  (If not 8.4.1, an update would be the first thing to try.)

> Checking the logs I found that theres a segmentation fault ,

> Sep 26 05:39:54 pace kernel: postgres[28694]: segfault at 0000000000000030
> rip 000000000066ba8c rsp 00007fffd364da30 error 4

> gdb dump shows this

> Reading symbols from /lib64/libdl.so.2...done.
> Loaded symbols for /lib64/libdl.so.2
> Reading symbols from /lib64/libm.so.6...done.
> Loaded symbols for /lib64/libm.so.6
> Reading symbols from /lib64/libc.so.6...done.
> Loaded symbols for /lib64/libc.so.6
> Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
> Loaded symbols for /lib64/ld-linux-x86-64.so.2
> Reading symbols from /lib64/libnss_files.so.2...done.
> Loaded symbols for /lib64/libnss_files.so.2
> 0x00002ad6d7b8c2b3 in __select_nocancel () from /lib64/libc.so.6
> (gdb)

A segfault inside select() seems fairly unlikely.  I suspect that you
used the wrong executable or otherwise got the wrong result here.
Please double-check, and next time show the whole stack trace ("bt")
not just the top function.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Robert HaasDate: 2009-09-29 16:32:56
Subject: Re: Using results from INSERT ... RETURNING
Previous:From: Andrew DunstanDate: 2009-09-29 16:27:39
Subject: Re: [HACKERS] Postgres server goes in recovery mode repeteadly

pgsql-admin by date

Next:From: kunal sharmaDate: 2009-09-29 16:35:23
Subject: Re: [HACKERS] Postgres server goes in recovery mode repeteadly
Previous:From: Andrew DunstanDate: 2009-09-29 16:27:39
Subject: Re: [HACKERS] Postgres server goes in recovery mode repeteadly

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group