Article ID: 4265, created on Mar 24, 2008, last review on Apr 29, 2014

  • Applies to:
  • Sphera

Symptoms

Cannot install PostgresSQL

Resolution

If many VDSs on the server installed PostgreSQL, it might have reached the limit of the number of semaphore arrays. Redhat Linux kernel's default number of semaphores is 128 arrays. Each instance of PostgresSQL VA allocates a minimum of 2 arrays.

In order to increase the limits you  should modify the value of : /proc/sys/kernel/sem

The best way to do that is to use the
/etc/sysctl.conf file.

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF