Re: POSIX question - Mailing list pgsql-hackers

From Florian Pflug
Subject Re: POSIX question
Date
Msg-id 01800D55-D7F2-452D-B49F-3EF8A4BBF566@phlo.org
Whole thread Raw
In response to Re: POSIX question  (Radosław Smogura <rsmogura@softperience.eu>)
Responses Re: POSIX question
List pgsql-hackers
On Jun20, 2011, at 17:05 , Radosław Smogura wrote:
> I'm sure at 99%. When I ware "playing" with mmap I preallocated, probably,
> about 100GB of memory.

You need to set vm.overcommit_memory to "2" to see the difference. Did
you do that?

You can do that either with "echo 2 > /proc/sys/vm/overcommit_memory"
or by editing /etc/sysctl.conf and issuing "sysctl -p".

best regards,
Florian Pflug



pgsql-hackers by date:

Previous
From: Radosław Smogura
Date:
Subject: Re: POSIX question
Next
From: Andres Freund
Date:
Subject: Re: POSIX question