pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Heaney <mheaney@jcvi.org>
Cc: Scott Ribe <scott_ribe@elevated-dev.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Huge pages not working on PG 9.4
Date: Fri, 16 Jan 2015 18:58:14 -0500
Message-ID: <28981.1421452694@sss.pgh.pa.us> (raw)
In-Reply-To: <54B995CE.5010301@jcvi.org>
References: <54B98BB5.4050902@jcvi.org>
	<73DC9DCF-7C2D-49F7-8E8C-19F9C9E13854@elevated-dev.com>
	<54B991F5.7040505@jcvi.org>
	<54B995CE.5010301@jcvi.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Michael Heaney <mheaney@jcvi.org> writes:
>> FATAL:  huge pages not supported on this platform

> <sigh>  Nope, that didn't make any difference.  Since I compile my own 
> binary,
> I'm wondering if there's something that 'configure' didn't set properly.

A quick look at the PG source code says that that message means that
MAP_HUGETLB isn't defined.  Our code is expecting <sys/mman.h> to provide
that symbol, which it should do by default according to what I can see on
my RHEL 6.6 box.  Perhaps you've defined some of the feature restriction
macros like _POSIX_SOURCE?

			regards, tom lane


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (11+ messages)  latest in thread

Message-ID: <28981.1421452694@sss.pgh.pa.us>
Permalink:  ../28981.1421452694@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28981.1421452694@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mheaney@jcvi.org, scott_ribe@elevated-dev.com
  Subject: Re: Huge pages not working on PG 9.4
  In-Reply-To: <28981.1421452694@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox