[hobbit] Task hobbitd terminated, status 1
Henrik Stoerner
henrik at hswn.dk
Tue Oct 18 15:17:28 CEST 2005
On Tue, Oct 18, 2005 at 08:33:37AM -0400, Matthew Daubenspeck wrote:
> 2005-10-18 08:24:10 Setting up hobbitd channels
> 2005-10-18 08:24:10 Could not get shm of size 262144: Invalid argument
> 2005-10-18 08:24:10 Cannot setup status channel
It complains that it cannot setup the shared memory (shm) segments
needed for communicating with the hobbitd_* modules.
First, login as the hobbit user and run "ipcs -m" to see if any
shared-memory segments exist for this user. When hobbitd is
stopped there should not be any. If you see something like this:
hobbit at osiris:~$ ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x020289c7 32769 hobbit 600 262144 2
0x030289c7 65538 hobbit 600 262144 2
0x040289c7 98307 hobbit 600 262144 2
0x050289c7 131076 hobbit 600 262144 1
0x060289c7 163845 hobbit 600 32768 1
0x070289c7 196614 hobbit 600 524288 2
and there is no hobbitd running, then the normal cleanup
didn't happen when hobbitd last stopped. You can use "ipcrm -m <shmid>"
to remove them manually.
If that is not the problem (ie. there are no shared memory segments),
then the problem appears to be a ressource limit so hobbit isn't
allowed to create a shared memory segment of size 256 KB. You'll have
to check your OS documentation on where to configure these limits.
Look for "IPC tuning" or "SYSV IPC parameters".
Regards,
Henrik
More information about the Xymon
mailing list