Xymon Mailing List Archive search

testing pulldata in hobbit

7 messages in this thread

list Adam Scheblein · Thu, 29 Jun 2006 20:12:16 -0500 ·
Greetings,

 
I have been testing the new pulldata option in the snapshot from June
29, 2006, however I have run into a problem.  Basically, hobbit has
decided to not pull data from 2 of my 5 clients that I am testing this
on.  This is in a trucluster 5 environment and its cluster mate is also
having the same problems.  

 
When I installed I made sure to completely wipe out the client directory
(just in case - plus I had not made any customizations).  I am not sure
where to look because I have look through the logs and can't find
anything referencing this host.  Any ideas??  

 
Thanks,

Adam
list Wes Neal · Thu, 29 Jun 2006 23:22:33 -0400 ·
I had 4.1.1 running fine and wanted to move to the latest beta release.  The
compile seemed to go fine, but the hobbit log shows this now:
 
2006-06-29 22:16:33 Could not get shm of size 262144: Invalid argument
2006-06-29 22:16:33 Cannot setup status channel
2006-06-29 22:16:33 Task hobbitd terminated, status 1

 
I have plenty of shared memory I am almost sure and the other channel
problem I should not have either.  Here is my system file:
 
set shmsys:shminfo_shmmax=16000000
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=20
set semsys:seminfo_semmns=400
set semsys:seminfo_semmni=140
set semsys:seminfo_semmsl=60

 
This is Solaris 8 btw.  Any ideas?
 
Thanks
list Joe Sloan · Thu, 29 Jun 2006 23:00:10 -0700 ·
quoted from Wes Neal

Wes Neal wrote:
I had 4.1.1 running fine and wanted to move to the latest beta release. 
The compile seemed to go fine, but the hobbit log shows this now:
 
2006-06-29 22:16:33 Could not get shm of size 262144: Invalid argument
2006-06-29 22:16:33 Cannot setup status channel
2006-06-29 22:16:33 Task hobbitd terminated, status 1
 
I have plenty of shared memory I am almost sure and the other channel
problem I should not have either.  Here is my system file:
 
set shmsys:shminfo_shmmax=16000000
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=20
set semsys:seminfo_semmns=400
set semsys:seminfo_semmni=140
set semsys:seminfo_semmsl=60
 
This is Solaris 8 btw.  Any ideas?

Did you reboot after editing /etc/system? Unlike Linux, Solaris must be
rebooted for the changes to take effect -

J
list Wes Neal · Fri, 30 Jun 2006 08:36:09 -0400 ·
I didn't make any changes to /etc/system this time, my system file has been
that way since I first moved from BB to Hobbit.  Any other ideas?
quoted from Joe Sloan

 
-----Original Message-----
From: J Sloan [mailto:user-b1d2c84d244b@xymon.invalid] 
Sent: Friday, June 30, 2006 2:00 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Problem with the latest release


Wes Neal wrote:
I had 4.1.1 running fine and wanted to move to the latest beta release. 
The compile seemed to go fine, but the hobbit log shows this now:
 
2006-06-29 22:16:33 Could not get shm of size 262144: Invalid argument
2006-06-29 22:16:33 Cannot setup status channel
2006-06-29 22:16:33 Task hobbitd terminated, status 1
 
I have plenty of shared memory I am almost sure and the other channel 
problem I should not have either.  Here is my system file:
 
set shmsys:shminfo_shmmax=16000000
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=20
set semsys:seminfo_semmns=400
set semsys:seminfo_semmni=140
set semsys:seminfo_semmsl=60
 
This is Solaris 8 btw.  Any ideas?

Did you reboot after editing /etc/system? Unlike Linux, Solaris must be
rebooted for the changes to take effect -

J
list Wes Neal · Fri, 30 Jun 2006 14:38:09 -0400 ·
Anyone else with any ideas?
quoted from Wes Neal
 

From: Wes Neal [mailto:user-0562f1ad9ead@xymon.invalid] 
Sent: Thursday, June 29, 2006 11:23 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Problem with the latest release


I had 4.1.1 running fine and wanted to move to the latest beta release.  The
compile seemed to go fine, but the hobbit log shows this now:
 
2006-06-29 22:16:33 Could not get shm of size 262144: Invalid argument
2006-06-29 22:16:33 Cannot setup status channel
2006-06-29 22:16:33 Task hobbitd terminated, status 1

 
I have plenty of shared memory I am almost sure and the other channel
problem I should not have either.  Here is my system file:
 
set shmsys:shminfo_shmmax=16000000
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=20
set semsys:seminfo_semmns=400
set semsys:seminfo_semmni=140
set semsys:seminfo_semmsl=60

 
This is Solaris 8 btw.  Any ideas?
 
Thanks
list Henrik Størner · Sun, 9 Jul 2006 17:19:28 +0200 ·
quoted from Adam Scheblein
On Thu, Jun 29, 2006 at 08:12:16PM -0500, Scheblein, Adam wrote:
I have been testing the new pulldata option in the snapshot from June
29, 2006, however I have run into a problem.  Basically, hobbit has
decided to not pull data from 2 of my 5 clients that I am testing this
on.  This is in a trucluster 5 environment and its cluster mate is also
having the same problems.  
The "pulldata" code had not been tested much except in a very limited
lab-setup. Over the past couple of days I have done some more extensive
testing with help from the Hobbit user who requested this feature, and
the current snapshots should work a lot better.

Regards,
Henrik
list Henrik Størner · Sun, 9 Jul 2006 17:32:11 +0200 ·
quoted from Wes Neal
On Thu, Jun 29, 2006 at 11:22:33PM -0400, Wes Neal wrote:
I had 4.1.1 running fine and wanted to move to the latest beta release.  The
compile seemed to go fine, but the hobbit log shows this now:
 
2006-06-29 22:16:33 Could not get shm of size 262144: Invalid argument
2006-06-29 22:16:33 Cannot setup status channel
My Solaris 8 man-page says:

     EINVAL
           The size argument  is  less  than  the  system-imposed
           minimum or greater than the system-imposed maximum.

Cannot be this, since your shm settings are for a size between 
1 and 16000000 - the Hobbit request of 262144 bytes fits this.

     EINVAL
           A shared memory identifier exists for key but the size
           of  the  segment  associated with it is less than size
           and size is not equal to 0.

Sounds like this is the one. Your old Hobbit may still be running ?

Login as the Hobbit user and do an "ipcs -m". If there are any segments
listed, either Hobbit is running or they weren't cleaned up properly
upon shutdown. In that case, you can remove them with "ipcrm".


Henrik