Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xdj5e-0003Uu-3e for pgsql-admin@arkaria.postgresql.org; Mon, 13 Oct 2014 17:07:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xdj5d-000809-Jo for pgsql-admin@arkaria.postgresql.org; Mon, 13 Oct 2014 17:07:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xdj5c-000801-Q4 for pgsql-admin@postgresql.org; Mon, 13 Oct 2014 17:07:20 +0000 Received: from mout.web.de ([212.227.15.4]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xdj5Z-00021E-HT for pgsql-admin@postgresql.org; Mon, 13 Oct 2014 17:07:19 +0000 Received: from vm-mailsrv.lan.net ([87.155.101.56]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0MISsx-1XbFqn1LmZ-004FwW; Mon, 13 Oct 2014 19:07:14 +0200 Received: from localhost (localhost [127.0.0.1]) by vm-mailsrv.lan.net (Postfix) with ESMTP id 33CE0DFB2; Mon, 13 Oct 2014 19:07:13 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 tagged_above=-99.9 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, FREEMAIL_FROM=0.001] autolearn=ham Received: from vm-mailsrv.lan.net ([127.0.0.1]) by localhost (vm-mailsrv.lan.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fO937FG828wX; Mon, 13 Oct 2014 19:07:07 +0200 (CEST) Received: from guest07.lan.net (aurora.lan.net [10.94.76.254]) by vm-mailsrv.lan.net (Postfix) with ESMTP id D5568DFAD; Mon, 13 Oct 2014 19:07:06 +0200 (CEST) User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Subject: Re: PostgreSQL 9.3 abd CentOS 7 memory usage From: Jan Lentfer Date: Mon, 13 Oct 2014 19:07:11 +0200 To: =?ISO-8859-1?Q?El=EDas_David?= , pgsql-admin Message-ID: Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:4AjTeThF2771OC1A6c+PPOBBy9B7TOWvrj96l+KGrplT+qXU83D fAsqVL/+xz6Z8kQ2dgtzX/q+2vHMAxouS9xLnVAHgI4bBD54m60zMI/1R3+QQxSE3WhZZ8q nvnAAoyRtxu2N1uLsV1VxEgcdq0F2tMscIdFbAVZ5KSr71kNqae6Mb8klMfN4nOdvS1rso3 fRF973N67LMxP3ia6EQtg== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) 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 Am 12. Oktober 2014 19:33:18 MESZ, schrieb "El=C3=ADas David" : >Hello all, > >I have a question regarding the memory usage I'm seeing in one of my >servers. This servers was recently installed using CentOS 7 and >PostgreSQL >9.3 > >The server has 128GB of ram and we've configured postgresql.conf to use >as >much memory as it can (it's a dedicate postgres server after all) > >What we're seeing is that even at high peaks of load the server doesn't >consume more than 14GB, increasing the load doesn't increase ram usage >equally. We find this odd since we've other servers that are CentOS 6.5 >and >postgres 9.3 and postgres 8.4, and all use all the ram available. > >This particular server was a CentOS 6.5 and postgres 9.1 before and was >able to use all 128GB of ram, now it doesn't for some reason. > >I know that shared memory usage in postgres was changed on 9.3 from sys >v >to posix so changing things like shmmax and the like aren't needed >anymore >(although we've trying changing those to no effect) > >We've even seen out of memory errors on postgres logs a few times when >the >server is just using something like 8GB out of 128GB of ram > >Has anyone experienced a similar issue or have seen weird memory usage >patrons with CentOS 7? What's the on-disk size of your databases and can you estimate the actual w= orking set? How long is this system up and being queried? I have seen similar when upgrading from 8.4 to 9.3 on Solaris 10, Postgres = running in zones. I could not yet investigate further and performance is pe= rfect still. --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin