[hobbit] Hobbit 4.2.0 + FreeBSD 6.2 & shm problems

Henrik Stoerner henrik at hswn.dk
Fri Mar 23 10:00:35 CET 2007


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




More information about the Xymon mailing list