pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Kurt Roeckx <kurt@roeckx.be>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16707: Memory leak
Date: Tue, 10 Nov 2020 18:39:48 +0100
Message-ID: <20201110173948.GA562081@roeckx.be> (raw )
In-Reply-To: <20201110081934.GA546675@roeckx.be >
References: <16707-f5df308978a55bf8@postgresql.org >
<1999972.1604957673@sss.pgh.pa.us >
<20201109220329.GC391173@roeckx.be >
<2002012.1604960437@sss.pgh.pa.us >
<20201110043127.sfkyvvjqy7x3er5k@alap3.anarazel.de >
<20201110081120.GF391173@roeckx.be >
<20201110081934.GA546675@roeckx.be >
On Tue, Nov 10, 2020 at 09:19:34AM +0100, Kurt Roeckx wrote:
> On Tue, Nov 10, 2020 at 09:11:20AM +0100, Kurt Roeckx wrote:
> > On Mon, Nov 09, 2020 at 08:31:27PM -0800, Andres Freund wrote:
> > > As this is on a halfway recent linux, I suggest doing something like
> > >
> > > $ grep ^Rss /proc/$pid/status
> > > RssAnon: 6664 kB
> > > RssFile: 69512 kB
> > > RssShmem: 15788 kB
> >
> > RssAnon: 1197064 kB
> > RssFile: 27420 kB
> > RssShmem: 4248052 kB
>
> Maybe this is useful:
> $ grep kB /proc/10000/status
> VmPeak: 5654956 kB
> VmSize: 5637004 kB
> VmLck: 0 kB
> VmPin: 0 kB
> VmHWM: 5479104 kB
> VmRSS: 5472668 kB
> RssAnon: 1197196 kB
> RssFile: 27420 kB
> RssShmem: 4248052 kB
> VmData: 1192724 kB
> VmStk: 132 kB
> VmExe: 5388 kB
> VmLib: 68200 kB
> VmPTE: 10932 kB
> VmSwap: 0 kB
> HugetlbPages: 0 kB
The same thing, about 9 hours later:
VmPeak: 5882112 kB
VmSize: 5857276 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 5722668 kB
VmRSS: 5697940 kB
RssAnon: 1414988 kB
RssFile: 27472 kB
RssShmem: 4255480 kB
VmData: 1412996 kB
VmStk: 132 kB
VmExe: 5388 kB
VmLib: 68200 kB
VmPTE: 11372 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Kurt
view thread (21+ messages) latest in thread
Message-ID: <20201110173948.GA562081@roeckx.be>
Permalink: ../20201110173948.GA562081@roeckx.be/
Also on: postgresql.org/message-id/20201110173948.GA562081@roeckx.be
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: kurt@roeckx.be, andres@anarazel.de, tgl@sss.pgh.pa.us, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16707: Memory leak
In-Reply-To: <20201110173948.GA562081@roeckx.be>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox