Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [shmmax]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Is a value of 18446744073692774399 normal for kernel.shmmax? [duplicate]

Context: web server hosted on DigitalOcean with a PostgreSQL database. We were experiencing recurring database crashes for unknown reasons. Eventually I nailed down a faulty query that was overloading ...
dabadaba's user avatar
  • 101
5 votes
3 answers

What is the default maximum value for /proc/sys/kernel/shmmax

I am having an amiguity as to what the maximum value in shmmax should be set. After having a look at my system's statistics, it shows the following: #cat /proc/sys/kernel/shmmax ...
Parth Pathak's user avatar
2 votes
1 answer

High shmmax value in Redhat 6.3

We are using Redhat 6.3 with 30G RAM to host our Postgres server. The (default) shmmax value is 68,719,476,736 In some forums I have read that having an shmmax value larger than the RAM causes ...
xpapad's user avatar
  • 151
3 votes
2 answers

PostgreSQL server failed to start: request for a shared memory segment exceeded your kernel's SHMMAX parameter

I increased PostgreSQL's shared buffer (among other settings) to 4096M and now PostgreSQL fails to start, giving the error message below. Should I change the kernel's SHMMAX parameter to 4096M? The ...
Nyxynyx's user avatar
  • 1,489
12 votes
4 answers

How to set shmall, shmmax, shmmin, etc ... in general and for postgresql

I've used the documentation from PostgreSQL to set it for example this config: >>> cat /proc/meminfo MemTotal: 16345480 kB MemFree: 1770128 kB Buffers: 382184 kB ...
jpic's user avatar
  • 242
9 votes
2 answers

Postgresql Performance - Adjusting SHMMAX and SHMALL

I've read just about everything there is online about improving postgres performance, but the "right" values for SHMMAX and SHMALL still elude me. The consensus seems to be SHMMAX = total_memory/4 ...
Enrico's user avatar
  • 491
1 vote
3 answers

shmmax setting in sysctl.conf not taking effect

We are running RHEL 4 Update 6 and I am going through an Oracle installation. As per the Oracle Installation Guide I am trying to update the shmmax value. As per the guide I have added the following ...
Patrick's user avatar
  • 192
9 votes
3 answers

how to set the shmmax parameter on mac os x

how should I set the shm* values in Mac Os X 10.5.6 Leopard in a persistent manner?
Alex. S.'s user avatar
  • 915