My OpenBSD 5.9 animal curculio have been failing with:
running bootstrap script ... FATAL: could not create semaphores: No
space left on device
DETAIL: Failed system call was semget(1, 17, 03600).
HINT: This error does *not* mean that you have run out of disk space.
It occurs when either the system limit for the maximum number of
semaphore sets (SEMMNI), or the system wide maximum number of semaphores
(SEMMNS), would be exceeded. You need to raise the respective kernel
parameter. Alternatively, reduce PostgreSQL's consumption of semaphores
by reducing its max_connections parameter.
The PostgreSQL documentation contains more information about
configuring your system for PostgreSQL.
child process exited with exit code 1
for quite a while.
So I've increased kern.seminfo.semmni from 10 to 20 and that seem to
have solved the problem in HEAD at least.
I think it should solve the problem in the other branches too, but let's
see after they run the next time.