The defaults are in /sys/sys/sem.h:
-/* Configuration parameters */
-#ifndef SEMMNI
#define SEMMNI 10 /* # of semaphore identifiers */
-#endif
-#ifndef SEMMNS
+
#define SEMMNS 60 /* # of semaphores in system */
-#endif
-#ifndef SEMUME
+
#define SEMUME 10 /* max # of undo entries per process */
-#endif
-#ifndef SEMMNU
+
#define SEMMNU 30 /* # of undo structures in system */
-#endif
Set the values you want in your kernel config file, e.g.:
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.52 2001/02/16 16:10:06 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.53 2001/02/16 19:27:19 momjian Exp $
-->
<Chapter Id="runtime">
<para>
The defaults are in <filename>/sys/sys/sem.h</>:
<programlisting>
-/* Configuration parameters */
-#ifndef SEMMNI
#define SEMMNI 10 /* # of semaphore identifiers */
-#endif
-#ifndef SEMMNS
+
#define SEMMNS 60 /* # of semaphores in system */
-#endif
-#ifndef SEMUME
+
#define SEMUME 10 /* max # of undo entries per process */
-#endif
-#ifndef SEMMNU
+
#define SEMMNU 30 /* # of undo structures in system */
-#endif
</programlisting>
Set the values you want in your kernel config file, e.g.:
<programlisting>