Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jHSNt-0003T8-Ry for pgsql-general@arkaria.postgresql.org; Thu, 26 Mar 2020 13:17:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jHSNs-0005vI-Mg for pgsql-general@arkaria.postgresql.org; Thu, 26 Mar 2020 13:17:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jHSNs-0005vB-AL for pgsql-general@lists.postgresql.org; Thu, 26 Mar 2020 13:17:20 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHSNn-0002U2-7o for pgsql-general@lists.postgresql.org; Thu, 26 Mar 2020 13:17:19 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 437B82A36; Thu, 26 Mar 2020 14:17:10 +0100 (CET) Date: Thu, 26 Mar 2020 14:17:10 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: core. files inside base directory Message-ID: <20200326131710.GA12141@hjp.at> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 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 --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl58q1EACgkQ8g5IURL+ KF3Wkg//TMwJ2IEFhaQEfTuyxLq2nUpVgccwdiLypk8E1gwdmPeI3VElEq/puykc iFp3RnZTj0BXjsBto2GPyMdjwQdb/7Z7upUHXoM6ezj8bXug8bTF6FFwrgC/b1EC 3R95sJsKfFwKFhGxkX6n8rT/JXAl9B+zGTQ/s/HRXf5uRbu4MKQbFCdlCVXycbBk Ixvo2Yw7BXUGO5GybCtfWo96KX16Eu9arBfRBWhKtUdSZe23bT2xQApSu1hcCkVF EQDNLyl4oGR6k9pDCWvvyDdExGLK8XC0KUSNyo710YX7SDVX6h8liGtPN+8g5Vg5 mGfs2e+Xm2fGRzthCKgJ4dK+OAzdeM/ghz8uG7iEKSkVG0tkYSt1zbl0g7oLoALX 9J8+8i5VUPE8IORuQASJoUpNS0tOnyWBkyZ28NMlCmdsWU4i0NvRYk9tm7mrGEcd eQAVay+5xayBE6EvHMbFhGTP7RE/taXu/PpnOGcBlsfu/JoJ7ELS1n13lPnn8jIQ WXReX9ajeygpCq3ukTgpm9VkWscwckGcHqm+NJZt3TMJDC0DH1web4BAwFXGDIGY L1He0wgP/8pmHgI+mx0tOdhRp87nhWhK2cAnD8lToHbgVcQjqksaoQkjQs+BfQ5l n6ybjj5ND4otzhgMzyfpXLbqEsmPm/WoRqc4uLLTfBjFx6Vr02Q= =fF17 -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--