Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC8Se-00023C-Of for pgsql-admin@arkaria.postgresql.org; Mon, 06 Jul 2015 15:37:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZC8Se-00089H-9G for pgsql-admin@arkaria.postgresql.org; Mon, 06 Jul 2015 15:37:36 +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) (envelope-from ) id 1ZC8Sc-00088d-Mr for pgsql-admin@postgresql.org; Mon, 06 Jul 2015 15:37:35 +0000 Received: from nm18.bullet.mail.ne1.yahoo.com ([98.138.90.81]) by magus.postgresql.org with esmtps (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZC8SY-00024q-T0 for pgsql-admin@postgresql.org; Mon, 06 Jul 2015 15:37:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1436197047; bh=3U7Vk2F7m20CzoUxEISQMTEFfAkD7uDKPYAygYaIOmA=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=GMVPaRDk+OATa1sFH/2Szs6M4bV4aNEDQ9LvdgzNDAXBV+NQBqAwKWbx6RBQvPVrWBOrbkPUP+hSOK1wTvE0nU+Aql7plgSl6r7JbwHbxpwdPOpbyEXAc3zYVklWX5yhM5ldlAanJcCvF0RtcYqUXh1rd5wiMv9fPii2DvbuRek7vGePq3g424DTD+W+SSt30WbSNbDt8/zb1ULpAcJpcgechBswxAXLq+fy/U2eARURBY/BnoRvnUGMgTAUb3jqnN1INOMcIf6OZETcwZUMJe6LBCf43mYHJD5Q4PEpSGIBXu+pJ5/FX88hXR59u52BlMda8kb6OS+8iXuBrpgK9w== Received: from [98.138.100.112] by nm18.bullet.mail.ne1.yahoo.com with NNFMP; 06 Jul 2015 15:37:27 -0000 Received: from [98.138.89.161] by tm103.bullet.mail.ne1.yahoo.com with NNFMP; 06 Jul 2015 15:37:27 -0000 Received: from [127.0.0.1] by omp1017.mail.ne1.yahoo.com with NNFMP; 06 Jul 2015 15:37:27 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 120126.65983.bm@omp1017.mail.ne1.yahoo.com X-YMail-OSG: w5q2wv8VM1kjki3hS44bD_nTRl46Q0.oE57jxzhUugv7rnZkFItGHJsbPqEs3rp OBTG.8.u0DJV71lL.u3k1YDTx9GKAwSiWvMWmlB_tMAaBYxD2bHMyZw.71uDAIBBoSjnRap1FdRV lvjsH2wQtOBbMezafjd4pDG8znXrwY.HKU9XuvdGb2PhNwokejSn88XuVSpIM_Y7whXqxKwvvSdE zLLhBq_MAqcDT1PQL61c8rP5DQQi7R4FwNeFmX2RWyaJuc1Mm4eXwIesrNnP9ozIpN.oVQ32AOSj Qh8eK87FHvRR8Js40oRqR1UxRp4sBvhouHD96f9PqtkCt5tB2ENsOuGjy7ZMYJwlUnTu0fbU76y6 RED1BAcH5AooDjxLBnLV.Qqsy6EvsTcgebsu3dPHyMWU5l4RSHALWXs8Cma63N0iphJwF_BmluuW mXishCN0E0zNRMQOdu9veXpeNcc4RXzgrunX4u5eQsmeqpp0eN_1s3Cgy2r4xBHPyQQ-- Received: by 98.138.105.226; Mon, 06 Jul 2015 15:37:26 +0000 Date: Mon, 6 Jul 2015 15:37:26 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: "AL-Temimi, Muthana" , "pgsql-admin@postgresql.org" Message-ID: <23816193.2878261.1436197046286.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <24F2E095E199B041912675E4E3BBA011BA48E164@WEXCPPA018.fhhnet.stadt.hamburg.de> References: <24F2E095E199B041912675E4E3BBA011BA48E164@WEXCPPA018.fhhnet.stadt.hamburg.de> Subject: Re: Cached Memory increasing up and drop the caches through sync; echo 1 > /proc/sys/vm/drop_caches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Length: 954 X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org "AL-Temimi, Muthana" wrote: > is there any problem if I use the following command: > =E2=80=9Csync; echo 1 > /proc/sys/vm/drop_caches=E2=80=9D > to release the cached memory on linux server. The only problem would be that performance would tend to be poor if you discard the OS cache. > Because I have a problem with cached memory on the linux Server > beacaue there are increasing in cached memory till swap. You probably have not configured PostgreSQL very well. Please describe your hardware and OS and show the results of running these queries: SELECT version(); SELECT name, current_setting(name), SOURCE FROM pg_settings WHERE SOURCE NOT IN ('default', 'override'); Also, if you could show about 30 seconds of output from `vmstat 1` while the swapping is happening, that would help us provide useful advice. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin