[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Startup problem on FreeBSD



I've changed semmni to 20 and semmns to 100... works like a charm!

Thanks for your help Henrik!

morpheus# hobbitstart
Hobbit started
morpheus# cd /var/log/hobbit/
morpheus# ls -la
total 52
drwxr-xr-x  2 hobbit  hobbit    512 May 29 23:03 .
drwxr-xr-x  5 root    wheel    1536 May 29 22:00 ..
-rw-r--r--  1 hobbit  hobbit      0 May 29 23:03 acknowledge.log
-rw-r--r--  1 hobbit  hobbit     55 May 29 23:03 bb-display.log
-rw-r--r--  1 hobbit  hobbit      0 May 29 23:03 bb-network.log
-rw-r--r--  1 hobbit  hobbit      0 May 29 23:03 bb-retest.log
-rw-r--r--  1 hobbit  hobbit      0 May 29 23:03 bbcombotest.log
-rw-r--r--  1 hobbit  hobbit      0 May 29 23:03 history.log
-rw-r--r--  1 hobbit  hobbit     35 May 29 23:03 hobbitd.log
-rw-r--r--  1 hobbit  hobbit      4 May 29 23:03 hobbitd.pid
-rw-r--r--  1 hobbit  hobbit  39411 May 29 23:03 hobbitlaunch.log
-rw-r--r--  1 hobbit  hobbit      4 May 29 23:03 hobbitlaunch.pid
-rw-r--r--  1 hobbit  hobbit      0 May 29 23:03 larrd-data.log
-rw-r--r--  1 hobbit  hobbit      0 May 29 23:03 larrd-status.log
-rw-r--r--  1 hobbit  hobbit      0 May 29 23:03 notifications.log
-rw-r--r--  1 hobbit  hobbit      0 May 29 23:03 page.log


Henrik Stoerner wrote:
Hi Arnoud,

On Sun, May 29, 2005 at 10:47:14PM +0200, Arnoud Post wrote:

I think it's getting even more difficult looking at the following output:
morpheus# sysctl -a | grep kern.ipc.sem
kern.ipc.semmni: 10
kern.ipc.semmns: 60
morpheus# ipcs -s -a
Semaphores:
T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS s 65536 5432001 --rw------- postgres postgres postgres postgres 17 s 65537 5432002 --rw------- postgres postgres postgres postgres 17 s 65538 5432003 --rw------- postgres postgres postgres postgres 17 s 65539 17897355 --rw------- 10010 bb 10010 bb 3 s 65540 34674571 --rw------- 10010 bb 10010 bb 3 s 65541 51451787 --rw------- 10010 bb 10010 bb 3


OK, so I think you're hitting the "kern.ipc.semmns" limit of 60 - that
does match the output from ipcs (3x17 for postgres, 3x3 for bb - Hobbit
- gives 60. So some of the Hobbit ones are missing).


I'll have a go at google with your info...


This is the best one I've found yet. The kern.ipc.sem* sysctl settings
are "read-only", so apparently they can only be modified upon a reboot,
by listing them in /boot/loader.conf:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-sysctl.html


Regards, Henrik


To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe (at) hswn.dk