Re: CentOS 6: Increase shared memory limits permanently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



* shmall is total for all processes (in pages)
* shmmax is the maximum size of single contiguous shared memory segment (in
bytes)
Both should be tuned to be large enough (obviously shmmax should be able to
fit into shmall)

If the memory is locked you may  need to tune /etc/security/limits.conf too.

Another setting which affects shared memory are huge pages (I don't know if
PostgreSQL could utilize that feature)

On Tue, Oct 4, 2011 at 18:53, John R Pierce <pierce@xxxxxxxxxxxx> wrote:

> On 10/04/11 8:45 AM, Alexander Farber wrote:
> > on CentOS 6 / 64 bit what is please the best way
> > to permanently increase the shared memory?
>
> /etc/sysctl.conf
>
>
>
> --
> john r pierce                            N 37, W 122
> santa cruz ca                         mid-left coast
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux