[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Installing Hobbit on OS/X
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Installing Hobbit on OS/X
- From: Evan Platt <evan (at) espphotography.com>
- Date: Wed, 07 Nov 2007 14:10:47 -0800
- References: <20071102185702.7C511354E83 (at) espphotography.com> <20071102221215.GB29377 (at) hswn.dk> <20071102222540.0B1C435513B (at) espphotography.com> <E217882A588751409B3A2C4BCE3629A44C2E474461 (at) winx64.stenhouse.local> <20071107040601.5A08C3BB78E (at) espphotography.com> <961092e10711062038t4041e8d3pe92735da0b7105ba (at) mail.gmail.com> <20071107200509.23F7A3BC5B5 (at) espphotography.com> <961092e10711071333r28f209e2xbc922a3a173b8be3 (at) mail.gmail.com>
At 01:33 PM 11/7/2007, Josh Luthman wrote:
One thing I've noticed with netstat is a lot of people don't use the
-n argument, causing things like "http" or "ssh" to show up. Though
it is unlikely bigbrother is there I'd confirm with:
netstat -an|grep 1984
Nothing.. And as I mentioned, ps aux shows only the one line, not the
four or five listed in the documentation:
# ps aux | grep hobbit
hobbit 6032 0.0 0.0 27412 256 ?? Ss 12:02PM 0:00.16
/Users/hobbit/server/bin/hobbitlaunch
--config=/Users/hobbit/server/etc/hobbitlaunch.cfg
--env=/Users/hobbit/server/etc/hobbitserver.cfg --log=/var/log/hobbit/hobbitla
And hmm.. Here's my hobbitlaunch.log latest entry:
2007-11-07 13:47:48 Loading hostnames
2007-11-07 13:47:48 Loading saved state
2007-11-07 13:47:48 Setting up network listener on 0.0.0.0:1984
2007-11-07 13:47:48 Setting up local listener
2007-11-07 13:47:48 Setting up signal handlers
2007-11-07 13:47:48 Setting up hobbitd channels
2007-11-07 13:47:48 Could not attach shm Too many open files
2007-11-07 13:47:48 Cannot setup user channel
2007-11-07 13:47:48 Task hobbitd terminated, status 1
2007-11-07 13:47:53 Loading hostnames
2007-11-07 13:47:53 Loading saved state
2007-11-07 13:47:53 Setting up network listener on 0.0.0.0:1984
2007-11-07 13:47:53 Setting up local listener
2007-11-07 13:47:53 Setting up signal handlers
2007-11-07 13:47:53 Setting up hobbitd channels
2007-11-07 13:47:53 Could not attach shm Too many open files
2007-11-07 13:47:53 Cannot setup user channel
2007-11-07 13:47:53 Task hobbitd terminated, status 1
Did some googling.. (For the archive).
On os/x, editied /etc/rc:
sysctl -w kern.sysv.shmmax=4194304 kern.sysv.shmmin=1
kern.sysv.shmmni=32 kern.sysv.shmseg=12 kern.sysv.shmall=1024
I tried manually running that line, no go. Editied from shmseg=8 to
12, and rebooted. Works now!
# ps aux | grep hobb
hobbit 122 0.0 0.0 27412 236 ?? Ss 2:06PM 0:00.02
/Users/hobbit/server/bin/hobbitlaunch
--config=/Users/hobbit/server/etc/hobbitlaunch.cfg
--env=/Users/hobbit/server/etc/hobbitserver.cfg --log=/var/log/hobbit/hobbitla
hobbit 129 0.0 0.0 30216 704 ?? S 2:06PM 0:00.05
hobbitd --pidfile=/var/log/hobbit/hobbitd.pid
--restart=/Users/hobbit/server/tmp/hobbitd.chk
--checkpoint-file=/Users/hobbit/server/tmp/hobbitd.chk --checkpoint-interv
hobbit 156 0.0 0.0 27696 436 ?? S 2:06PM 0:00.02
hobbitd_channel --channel=stachg --log=/var/log/hobbit/history.log
hobbitd_history
hobbit 157 0.0 0.0 27952 404 ?? S 2:06PM 0:00.01
hobbitd_channel --channel=clichg --log=/var/log/hobbit/hostdata.log
hobbitd_hostdata
hobbit 158 0.0 0.0 27696 408 ?? S 2:06PM 0:00.01
hobbitd_channel --channel=page --log=/var/log/hobbit/page.log
hobbitd_alert --checkpoint-file=/Users/hobbit/server/tmp/alert.chk
--checkpoint-interval=600
hobbit 159 0.0 0.0 27696 436 ?? S 2:06PM 0:00.02
hobbitd_channel --channel=status --log=/var/log/hobbit/rrd-status.log
hobbitd_rrd --rrddir=/Users/hobbit/data/rrd
hobbit 160 0.0 0.0 27696 404 ?? S 2:06PM 0:00.01
hobbitd_channel --channel=data --log=/var/log/hobbit/rrd-data.log
hobbitd_rrd --rrddir=/Users/hobbit/data/rrd
hobbit 161 0.0 0.0 27952 404 ?? S 2:06PM 0:00.01
hobbitd_channel --channel=client --log=/var/log/hobbit/clientdata.log
hobbitd_client
hobbit 189 0.0 0.1 27712 960 ?? S 2:06PM 0:00.06
hobbitd_history
hobbit 190 0.0 0.1 27984 1012 ?? S 2:06PM 0:00.03
hobbitd_alert --checkpoint-file=/Users/hobbit/server/tmp/alert.chk
--checkpoint-interval=600
hobbit 191 0.0 0.1 32996 1444 ?? S 2:06PM 0:00.09
hobbitd_rrd --rrddir=/Users/hobbit/data/rrd
hobbit 329 0.0 0.1 28360 1132 ?? S 2:06PM 0:00.02
hobbitd_client
hobbit 341 0.0 0.1 32996 1428 ?? S 2:06PM 0:00.03
hobbitd_rrd --rrddir=/Users/hobbit/data/rrd
hobbit 342 0.0 0.1 27948 848 ?? S 2:06PM 0:00.01
hobbitd_hostdata
Thanks!