Huge pages not working on PG 9.4

From: Michael Heaney <mheaney(at)jcvi(dot)org>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Huge pages not working on PG 9.4
Date: 2015-01-16 22:07:49
Message-ID: 54B98BB5.4050902@jcvi.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I've compiled and installed PG 9.4.0 on my Linux VM, but attempts to
enable huge pages (huge_pages=on in postgresql.conf) have resulted in
this error message in the log:

FATAL: huge pages not supported on this platform

I'm running CentOS 6.4. Here's the uname output:

Linux 2.6.32-358.2.1.el6.x86_64 #1 SMP Wed Mar 13 00:26:49 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux

I've set a reasonable nr_hugepages value in /etc/sysctl.conf. Is there
some kernel mod or environment variable that I also need?

Michael Heaney
JCVI

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2015-01-16 22:13:27 Re: Huge pages not working on PG 9.4
Previous Message John Scalia 2015-01-16 15:56:19 Back to my pg_upgrade stoppage problem