From: | "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: core. files inside base directory |
Date: | 2020-03-26 13:17:10 |
Message-ID: | 20200326131710.GA12141@hjp.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 2020-03-26 10:42:46 +0000, Daulat Ram wrote:
> Hello, I have the core. Files inside the base directory of my postgres 10 setup
> . Would you please let me know the importance of these files . When they
> generate . Can we delete them ?
Core files are created by the kernel when a process crashes. Unless you
already know which program crashed and why, it is probably worth
investigating.
As a first step you could just use the file utility to find out which
program crashed.
file core.*
should print something like
core.26166: ELF 64-bit LSB core file x86-64, version 1 (SYSV),
SVR4-style, from 'sleep 120', real uid: ... execfn: '/bin/sleep' ...
for each file. (Of course the program won't be "sleep" in your case.
To analyze the coredumps further you would have to use a debugger (e.g.
gdb).
hp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp(at)hjp(dot)at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
From | Date | Subject | |
---|---|---|---|
Next Message | Norberto Dellê | 2020-03-26 13:46:51 | Re: PostgreSQL 10 not archiving some WAL files |
Previous Message | Dmitry Igrishin | 2020-03-26 11:28:02 | Re: PostgreSQL 13: native JavaScript Procedural Language support ? |