[hobbit] Problems starting snapshot install...

Henrik Stoerner henrik at hswn.dk
Wed Aug 10 09:34:42 CEST 2005


On Wed, Aug 10, 2005 at 12:20:13AM -0700, Bob Gordon wrote:
> Hello -
> 
> I downloaded the latest snapshot tonight and was able to compile and
> install it.  I am running into a problem starting it however.  When I
> execute the hobbit.sh start (or restart) it appears to execute
> correctly however nothing appears on the website.  In looking through
> the logs I found the following:
> 
> 2005-08-10 07:06:17 Loading hostnames
> 2005-08-10 07:06:17 Loading saved state
> 2005-08-10 07:06:17 Setting up network listener on 0.0.0.0:1984
> 2005-08-10 07:06:17 Setting up signal handlers
> 2005-08-10 07:06:17 Setting up hobbitd channels
> 2005-08-10 07:06:17 Could not attach shm Too many open files
> 2005-08-10 07:06:17 Cannot setup client channel

I was afraid something like that might happen - the latest snapshots
increase the max. size of messages that Hobbit can handle to acommodate
some of the larger messages that clients may send.

You need to tweak a kernel tuning parameter for your Mac OS X / Darwin
kernel. From a bit of googling it seems this is done very much like the
way you'd do it on FreeBSD - i.e. using the "sysctl" tool.

Could you try running (as "root" or whatever that's called on Darwin):

   for P in shmall shmmni shmmax; do sysctl kern.ipc.$P; done

and also the "ipcs -m" command to list the current shared memory 
segments.


Regards,
Henrik




More information about the Xymon mailing list