Thanks Henrik,
I think it's getting even more difficult looking at the following output: morpheus# sysctl -a | grep kern.ipc.sem kern.ipc.semmap: 30 kern.ipc.semmni: 10 kern.ipc.semmns: 60 kern.ipc.semmnu: 30 kern.ipc.semmsl: 60 kern.ipc.semopm: 100 kern.ipc.semume: 10 kern.ipc.semusz: 92 kern.ipc.semvmx: 32767 kern.ipc.semaem: 16384 morpheus# ipcs -s -a Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME s 65536 5432001 --rw------- postgres postgres postgres postgres 17 23:21:27 23:21:27 s 65537 5432002 --rw------- postgres postgres postgres postgres 17 23:21:27 23:21:27 s 65538 5432003 --rw------- postgres postgres postgres postgres 17 23:21:27 23:21:27 s 65539 17897355 --rw------- 10010 bb 10010 bb 3 no-entry 16:31:29 s 65540 34674571 --rw------- 10010 bb 10010 bb 3 no-entry 16:31:29 s 65541 51451787 --rw------- 10010 bb 10010 bb 3 no-entry 16:31:29
I'll have a go at google with your info...
Henrik Stoerner wrote:
On Sun, May 29, 2005 at 08:48:40PM +0200, Arnoud Post wrote:
I have just installed version 4.0.4 for the first time. I'm running FreeBSD 5.3 on Intel. 2005-05-29 20:25:14 Task hobbitd started with PID 43892 2005-05-29 20:25:14 Setting up hobbitd channels 2005-05-29 20:25:14 Could not get sem: No space left on device 2005-05-29 20:25:14 Cannot setup status channel 2005-05-29 20:25:14 Task hobbitd terminated, status 1
That's a first - I've never seen this error before.
The problem is with one of the FreeBSD kernel parameters controlling the number of "semaphores" available on this system. Hobbit uses 6 sets of semaphores, each set contains 3 semaphores, so a total of 18 semaphores.
Try running the command "sysctl -a | grep kern.ipc.sem" to check what the kernel limits are for semaphores. The interesting values are the "kern.ipc.semmni" (the number of semaphore sets available), and "kern.ipc.semmns" (the total number of semaphores). On my FreeBSD 4.10 box, those are set at 10 and 60, respectively - and as expected Hobbit runs fine with that. But this is a global ressource, so there may be other applications on your box that use semaphores ("ipcs -s -a" as root will show you that).
I don't know enough about FreeBSD to help you with changing these parameters - Google'ing a bit for "FreeBSD+kern.ipc.semmni" indicates that this also needs tuning if you run PostgreSQL.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk