pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Petar Djurkovic <petar.djurkovic@cbs.co.rs>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: ram consumption
Date: Sat, 28 May 2016 19:18:29 +0200
Message-ID: <62ae0550-501f-cd12-9720-d76e5410d201@cbs.co.rs> (raw)
In-Reply-To: <516.1464454323@sss.pgh.pa.us>
References: <4b07781a-6b9d-454a-2cf2-356098cd1ce8@cbs.co.rs>
	<516.1464454323@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

I stop postgresql with "service postgresql stop" when I stop my web 
application, postgresql running on Ubuntu 15.

Example, while running Postgresql he use 78 GB I see that on htop or top 
also same state with free mem and when I stop Postgresql ram consumption 
stay on 78 GB.

I every day run VACUUM(ANALYSE) and use pg_repack also autovacuum is on

This is part of my postgresql.conf:

checkpoint_timeout = 10min
max_connections = 200
shared_buffers = 12GB
effective_cache_size = 100GB
work_mem = 167772kB
maintenance_work_mem = 2GB
checkpoint_segments = 64
checkpoint_completion_target = 0.9
wal_buffers = 16MB

Best Regards,
Petar Djurkovic
On 5/28/2016 6:52 PM, Tom Lane wrote:
> Petar Djurkovic <petar.djurkovic@cbs.co.rs> writes:
>> When I stop postgresql instance ram mem which postgres used stay
>> uncleared and I must restart host machine, why is that happen and how
>> can I solve this problem?
> It's unlikely that this is a bug, but: how are you stopping Postgres
> exactly?  What observation convinces you that memory is not being
> reclaimed?  What's the operating system?
>
>> Version of my Postgresql is 9.4.
> 9.4.which exactly?
>
> 			regards, tom lane



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)  latest in thread

Message-ID: <62ae0550-501f-cd12-9720-d76e5410d201@cbs.co.rs>
Permalink:  ../62ae0550-501f-cd12-9720-d76e5410d201@cbs.co.rs/
Also on:    postgresql.org/message-id/62ae0550-501f-cd12-9720-d76e5410d201@cbs.co.rs

 · 

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: petar.djurkovic@cbs.co.rs, tgl@sss.pgh.pa.us
  Subject: Re: ram consumption
  In-Reply-To: <62ae0550-501f-cd12-9720-d76e5410d201@cbs.co.rs>
  References: <4b07781a-6b9d-454a-2cf2-356098cd1ce8@cbs.co.rs> <516.1464454323@sss.pgh.pa.us> <62ae0550-501f-cd12-9720-d76e5410d201@cbs.co.rs>

* 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