[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Hobbit 4.2.0 + FreeBSD 6.2 & shm problems
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Hobbit 4.2.0 + FreeBSD 6.2 & shm problems
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Fri, 23 Mar 2007 10:00:35 +0100
- References: <4603505E.50909@unixinside.com>
- User-agent: Mutt/1.5.12-2006-07-14
On Fri, Mar 23, 2007 at 12:58:22PM +0900, Simon McCorkindale wrote:
> I'm running the latest stable release of FreeBSD, 6.2
> 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
[snip]
> 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"
You need to tune the kernel shared-memory settings. See the
sysctl.conf man page. There's also this page that explains a
bit about tuning shared-memory:
http://www.unidata.ucar.edu/support/help/MailArchives/mcidas/msg02324.html
Regards,
Henrik