@@ -597,13 +597,13 @@ psql: could not connect to server: No such file or directory
597
597
<row>
598
598
<entry><varname>SEMMNI</></>
599
599
<entry>Maximum number of semaphore identifiers (i.e., sets)</>
600
- <entry>at least <literal>ceil((max_connections + autovacuum_max_workers) / 16)</literal></>
600
+ <entry>at least <literal>ceil((max_connections + autovacuum_max_workers + 4 ) / 16)</literal></>
601
601
</row>
602
602
603
603
<row>
604
604
<entry><varname>SEMMNS</></>
605
605
<entry>Maximum number of semaphores system-wide</>
606
- <entry><literal>ceil((max_connections + autovacuum_max_workers) / 16) * 17</literal> plus room for other applications</>
606
+ <entry><literal>ceil((max_connections + autovacuum_max_workers + 4 ) / 16) * 17</literal> plus room for other applications</>
607
607
</row>
608
608
609
609
<row>
@@ -678,7 +678,7 @@ psql: could not connect to server: No such file or directory
678
678
linkend="sysvipc-parameters">). The parameter <varname>SEMMNI</>
679
679
determines the limit on the number of semaphore sets that can
680
680
exist on the system at one time. Hence this parameter must be at
681
- least <literal>ceil((max_connections + autovacuum_max_workers) / 16)</>.
681
+ least <literal>ceil((max_connections + autovacuum_max_workers + 4 ) / 16)</>.
682
682
Lowering the number
683
683
of allowed connections is a temporary workaround for failures,
684
684
which are usually confusingly worded <quote>No space