Re: POSIX question - Mailing list pgsql-hackers

From Radosław Smogura
Subject Re: POSIX question
Date
Msg-id 201106201730.31648.rsmogura@softperience.eu
Whole thread Raw
In response to Re: POSIX question  (Florian Pflug <fgp@phlo.org>)
List pgsql-hackers
Florian Pflug <fgp@phlo.org> Monday 20 of June 2011 17:07:55
> 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
I've just created 127TB mapping in Linux - maximum allowed by VM. Trying
overcommit with 0,1,2.

Regards,
Radek


pgsql-hackers by date:

Previous
From: Florian Pflug
Date:
Subject: Re: proposal: a validator for configuration files
Next
From: Tom Lane
Date:
Subject: Re: Range Types and extensions