[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Problems starting snapshot install...
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Problems starting snapshot install...
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Wed, 10 Aug 2005 09:34:42 +0200
- References: <d4f70c240508100020d3f51a4@mail.gmail.com>
- User-agent: Mutt/1.5.6+20040907i
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