Re: BUG #14606: Memory usage continue to increase

From: Sam Dai <sam(dot)dai(at)servicemax(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14606: Memory usage continue to increase
Date: 2017-03-30 13:42:25
Message-ID: CAO+pR0qvg3BpqbxJaBEA_dY2=Nv0gmvQMXV6Gaj11yOwGyb6xg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I run Postgresql server in docker container, I run command "docker stats"
to measure memory , for example in the below command result, the memory
usage of docker container is 1.413 GB.

c137012d8af9 793.64% 1.413 GB / 67.55 GB 2.09%
5.927 GB / 7.249 GB 0 B / 10.32 GB 0

Thanks,

Sam

On Thu, Mar 30, 2017 at 9:32 PM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
wrote:

> On Thu, Mar 30, 2017 at 10:24 PM, Sam Dai <sam(dot)dai(at)servicemax(dot)com> wrote:
>
> (please do not top-post, this breaks the thread logic)
>
> > My application used ComboPooledDataSource to connect to Postgresql
> server,
> > the setting is as below, if this issue is syscache bloat, what is the
> > solution of this issue?
>
> Just a question: how are you measuring memory?
>
> > <property name="maxConnectionAge" value="300" /> <!-- 5 min -->
> > <property name="maxIdleTime" value="180" /> <!-- 3 min -->
>
> Seeing that, likely this is not syscache.
> --
> Michael
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sam Dai 2017-03-30 16:30:31 Re: BUG #14606: Memory usage continue to increase
Previous Message Michael Paquier 2017-03-30 13:32:37 Re: BUG #14606: Memory usage continue to increase