Huge pages not working on PG 9.4 - Mailing list pgsql-admin

From Michael Heaney
Subject Huge pages not working on PG 9.4
Date
Msg-id 54B98BB5.4050902@jcvi.org
Whole thread Raw
Responses Re: Huge pages not working on PG 9.4  (Scott Ribe <scott_ribe@elevated-dev.com>)
List 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



pgsql-admin by date:

Previous
From: John Scalia
Date:
Subject: Back to my pg_upgrade stoppage problem
Next
From: Scott Ribe
Date:
Subject: Re: Huge pages not working on PG 9.4