pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Roman Cervenak <roman@cervenak.info>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Memory leak (possibly connected to postgis) leading to server crash
Date: Wed, 18 Dec 2019 15:55:21 +0100
Message-ID: <20191218145521.oyhvjn5ptf3a6ej4@development> (raw)
In-Reply-To: <CAGjExY1KTV-24Ruoc-pnSFyBiwz6bNPD62YRKHejRw6fUkajNQ@mail.gmail.com>
References: <20191206124119.qe2xaffcbkcbmve3@development>
	<CAGjExY0Kb0-h3MqWbiYry3e40nKbYyOW3-=BO7iKLJpo8R66aw@mail.gmail.com>
	<18069.1576082949@sss.pgh.pa.us>
	<CAGjExY2xQa8hxEYBTDDv6Y66V2=D0HEDsmLt42ZVupC3BxsLsQ@mail.gmail.com>
	<20191213132036.3m27dlquaxoorkja@development>
	<CAGjExY2JyROqZpUkOZkvVS7=-MPPM7Te5wgnJ+oD5h0X2V6pTw@mail.gmail.com>
	<20191217125035.wdplskovliz7d5lh@development>
	<CAGjExY3qtdQnA3XiOok=8yr6tXSAz86nCNcE92u6K-z8FrHZyA@mail.gmail.com>
	<20191217180957.akh7vyex5guxqs7r@development>
	<CAGjExY1KTV-24Ruoc-pnSFyBiwz6bNPD62YRKHejRw6fUkajNQ@mail.gmail.com>

On Wed, Dec 18, 2019 at 09:49:22AM +0100, Roman Cervenak wrote:
>Sure, here it is, 10k queries generated by this tool:
>https://sygicpublic.blob.core.windows.net/postgres-bug-data/postgis_memory_leak_queries.txt
>

Thanks. I've tried running this on current branches (so PostgreSQL 13dev
and PostGIS 3.1.0dev), but that does not seem to be leaking so far. I'll
leave running it for a bit longer and then I'll try running it on 12.1
and 3.0.0 which I think are the versions you reported. I don't have an
Ubuntu box at hand, so I'll have to build it locally, though.

BTW it's customary to reply in-line here, top-posting makes it harder to
follow the discussion etc.

regards

>RC
>
>On Tue, Dec 17, 2019 at 7:10 PM Tomas Vondra <tomas.vondra@2ndquadrant.com>
>wrote:
>
>> On Tue, Dec 17, 2019 at 02:20:41PM +0100, Roman Cervenak wrote:
>> >.NET core is cross platform, you can run it under windows or linux, just
>> >install .net core runtime.
>>
>> That's possible, but I have zero experience with .net core, and
>> unfortunately I have no system with it installed. I've tried running it
>> under mono I just installed, but quickly ran into issue that I don't
>> know how to solve. I'm willing to spend time investigating the issue,
>> but this seems a bit too much ...
>>
>> >I did not try to run loop with fixed params, I tried to mimic my
>> production
>> >workload (which is not random of course, but highly variable by location).
>> >You can certainly try.
>> >
>>
>> Can you capture a couple of queries, and share those? I'll run that
>> under valgrind and see if that produces something interesting.
>>
>>
>> regards
>>
>> --
>> Tomas Vondra                  http://www.2ndQuadrant.com
>> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
>>

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (16+ messages)

Message-ID: <20191218145521.oyhvjn5ptf3a6ej4@development>
Permalink:  ../20191218145521.oyhvjn5ptf3a6ej4@development/
Also on:    postgresql.org/message-id/20191218145521.oyhvjn5ptf3a6ej4@development

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, roman@cervenak.info, tgl@sss.pgh.pa.us
  Subject: Re: Memory leak (possibly connected to postgis) leading to server crash
  In-Reply-To: <20191218145521.oyhvjn5ptf3a6ej4@development>
  References: <20191206124119.qe2xaffcbkcbmve3@development> <CAGjExY0Kb0-h3MqWbiYry3e40nKbYyOW3-=BO7iKLJpo8R66aw@mail.gmail.com> <18069.1576082949@sss.pgh.pa.us> <CAGjExY2xQa8hxEYBTDDv6Y66V2=D0HEDsmLt42ZVupC3BxsLsQ@mail.gmail.com> <20191213132036.3m27dlquaxoorkja@development> <CAGjExY2JyROqZpUkOZkvVS7=-MPPM7Te5wgnJ+oD5h0X2V6pTw@mail.gmail.com> <20191217125035.wdplskovliz7d5lh@development> <CAGjExY3qtdQnA3XiOok=8yr6tXSAz86nCNcE92u6K-z8FrHZyA@mail.gmail.com> <20191217180957.akh7vyex5guxqs7r@development> <CAGjExY1KTV-24Ruoc-pnSFyBiwz6bNPD62YRKHejRw6fUkajNQ@mail.gmail.com> <20191218145521.oyhvjn5ptf3a6ej4@development>

* 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