Previous Topic

Next Topic

Book Contents

Book Index

Linux kernel system parameters

The following table describes Linux kernel parameters with one instance of PostgreSQL. If you are using additional instances of PostgreSQL, you need to multiply the values by the number of instances.

Parameter

Description

Value

semmsl

Determines the maximum number of semaphores per semaphore set

  • S: 100
  • M: 150
  • L: 250

semmns

Determines the total number of semaphores

  • S: 600
  • M: 4000
  • L: 32000

semopm

Determines the maximum number of semaphore operations per semop(2) system calls

100

semmni

Checks the maximum number of semaphore sets for the entire Linux system

  • S: 300
  • M: 400
  • L: 1000

kernel.shmall

Determines the total size of shared memory pages

  • S: 2 GB
  • M: 4 GB
  • L: 8 GB

kernel.shmmax

Determines the size of shared memory

  • S: 2 GB
  • M: 4 GB
  • L: 8 GB

kernel.shmmni

Determines the total size of shared memory segments

  • S: 1024
  • M: 2048
  • L: 4096

Parent Topic

PostgreSQL UNIX kernel parameters