On 07/19/2012 12:37 AM, Amod Pandey
wrote:
Server stopped due to Segmentation Fault. Server was running successfully for an year. Did the crash produce a core file ? You haven't mentioned what Linux distro or kernel version you're on, and defaults vary. Look in your PostgreSQL datadir and see if there are any files with "core" in the name. Unfortunately most Linux distros default to not producing core files. Without a core file it'll be nearly impossible because the segfault message reported by the kernel only contains the instruction pointer and stack pointer. The stack pointer is invalid and useless without a core file, and with address space layout randomisation active the instruction pointer offsets are all randomised for each execution, so the ip doesn't tell you much on ASLR systems either. If you can show more of the PostgreSQL logs from around the incident that would possibly be helpful. -- Craig Ringer |