Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6y51-0006yq-SS for pgsql-bugs@arkaria.postgresql.org; Sun, 29 May 2016 10:36:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b6y51-0004vV-Bx for pgsql-bugs@arkaria.postgresql.org; Sun, 29 May 2016 10:36:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b6y50-0004v7-JI for pgsql-bugs@postgresql.org; Sun, 29 May 2016 10:36:22 +0000 Received: from mail.catalyst.net.nz ([2404:130:0:10::40:0]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b6y4v-0006jN-De for pgsql-bugs@postgresql.org; Sun, 29 May 2016 10:36:21 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id BACDA67CD5 for ; Sun, 29 May 2016 22:36:08 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cKRBobsPznUa for ; Sun, 29 May 2016 22:36:08 +1200 (NZST) Received: from [192.168.1.64] (122-62-63-29.jetstream.xtra.co.nz [122.62.63.29]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id 0EC1633958 for ; Sun, 29 May 2016 22:36:08 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catalyst.net.nz; s=catalyst; t=1464518168; bh=nRUVP6a/Ha/+f9iIwSsd3m64w0B7JCTJJ1JNbsu0Fjc=; h=Subject:To:References:From:Date:In-Reply-To; b=QS1dsVM9774kP/JVroAo7ETSivhErvsS+bU0Vz6eHLsu0iVqGuzGUyv4Nze4eGB/b DB0HLXnTVcukjAQWEDe224tjXP13kVfA4awT4iA8yzhuGBisfc2qwGZqPFOSNNt5X1 Gxs+NjSpecp7NdWFotwTPIq6dE80jP51cfDeDR9g= Subject: Re: ram consumption To: pgsql-bugs@postgresql.org References: <4b07781a-6b9d-454a-2cf2-356098cd1ce8@cbs.co.rs> From: Mark Kirkwood Message-ID: <574AC617.40003@catalyst.net.nz> Date: Sun, 29 May 2016 22:36:07 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <4b07781a-6b9d-454a-2cf2-356098cd1ce8@cbs.co.rs> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -5.7 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 28/05/16 21:26, Petar Djurkovic wrote: > > 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? > Can you show us output from some memory measuring tool (1st few lines of 'top' would probably be good enough)? I'd guess you are seeing the Linux buffer cache at work (you could test by unmounting the filesystem postgres was using - typically /var - and seeing if that magically returned your memory) regards Mark -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs