Hobbit 4.2.0 + FreeBSD 6.2 & shm problems

Simon McCorkindale simon at unixinside.com
Fri Mar 23 04:58:22 CET 2007


Hi,

I'm running the latest stable release of FreeBSD, 6.2, with a freshly
built version 4.2.0 of Hobbit. After using most of the defaults for the
configure.server script (I just changed the URLs settings a little) I'm
getting the following error in /var/log/hobbit/hobbitlaunch.log:

007-03-22 22:25:50 hobbitlaunch starting
2007-03-22 22:25:50 Loading tasklist configuration from
/home/hobbit/server/etc/hobbitlaunch.cfg
2007-03-22 22:25:50 Loading hostnames
2007-03-22 22:25:50 Loading saved state
2007-03-22 22:25:50 Cannot access checkpoint file
/home/hobbit/server/tmp/hobbitd.chk for restore
2007-03-22 22:25:50 Setting up network listener on 0.0.0.0:1984
2007-03-22 22:25:50 Setting up signal handlers
2007-03-22 22:25:50 Setting up hobbitd channels
2007-03-22 22:25:50 Could not get shm of size 262144: Cannot allocate memory
2007-03-22 22:25:50 Cannot setup data channel
2007-03-22 22:25:50 Task hobbitd terminated, status 1

I'm not sure exactly what the "Cannot access checkpoint file" error is
but I think the more serious error here is the shm "Cannot allocate
memory" error which is preventing hobbit from starting.

I've got the following configuration in /boot/loader.conf:

kern.maxusers=256
kern.ipc.nmbclusters=6000
kern.ipc.maxsockets=8000
kern.ipc.semmni="40"
kern.ipc.semmns="100"

In the kernel configuration the SYSVSHM, SYSVMSG, SYSVSEM options are
enabled.

The scheduler option is currently set to SCHED_ULE (as opposed to the 
older SCHED_4BSD).

I can't seem to find much info on the web that relates to my
environment. Can anyone help me out please?

I'm happy to provide more information about my setup if you need it.

Thanks in advance,
Simon.




More information about the Xymon mailing list