Xymon Mailing List Archive search

4.2 Alpha Release - hobbit_rrd crashing

8 messages in this thread

list Chris Morris · Wed, 5 Apr 2006 16:06:22 +0100 ·
Hi,

I have just built the hobbit 4.2-alpha-20060404 release server on an AIX 5.2
system.

hobbit_rrd is crashing every 5 mins

hobbitlaunch.log : Task rrddata terminated, status 1

rrd-data.log : xcalloc: Out of memory!
                   Worker process died with exit code 393350, terminating

Unfortunately I cannot analyse a coredump as the OS is complaining that the
coredump is failing

Running the rrddata channel component with debug produces :-


2006-04-05 15:41:49 RRD update param 00: 'rrdupdate'
2006-04-05 15:41:49 RRD update param 01:
'/usr/local/hobbit2/data/rrd/tru2407/netstat.rrd'
2006-04-05 15:41:49 RRD update param 02: '-t'
2006-04-05 15:41:49 RRD update param 03:
'udpInDatagrams:udpOutDatagrams:udpInErrors:tcpActiveOpens:tcpPassiveOpens:t
cpAttemptFails:tcpEstabResets:tcpCurrEstab:tcpOutDataBytes:tcpInInorderBytes
:tcpInUnorderBytes:tcpRetransBytes:tcpOutDataPackets:tcpInInorderPackets:tcp
InUnorderPackets:tcpRetransPackets'
2006-04-05 15:41:49 RRD update param 04:
'1144248109:678267:32007:0:63839:27393:U:U:U:3749401639:2357005339:440214:16
688:6179403:2368554:59679:13'
2006-04-05 15:41:49 hobbitd_rrd: Got message 5
@@data#5|1144248109.287065|192.164.0.1||truxxxx|ifstat
2006-04-05 15:41:49 xcalloc: Out of memory!
2006-04-05 15:41:49 Worker process died with exit code 393350, terminating

(ip address and server name modified to protect the innocent)

Always seems to crash on the second message (ifstat) although all rrds are
updated execpt for vmstat!!

Regards,

Chris


****************************************************************************
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.

If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
*****************************************************************************
list Henrik Størner · Wed, 5 Apr 2006 17:23:29 +0200 ·
quoted from Chris Morris
On Wed, Apr 05, 2006 at 04:06:22PM +0100, Morris, Chris (Shared Services) wrote:
Hi,

I have just built the hobbit 4.2-alpha-20060404 release server on an AIX 5.2
system.

hobbit_rrd is crashing every 5 mins

hobbitlaunch.log : Task rrddata terminated, status 1

rrd-data.log : xcalloc: Out of memory!
Always seems to crash on the second message (ifstat) although all rrds are
updated execpt for vmstat!!
Ouch! This is a really bad oversight on my part. I've simply forgotten
to implement the "ifstat" handling for AIX, Solaris and HP-UX.

Problem is I don't know what the ifstat data from those OS'es look like.
Could you send me a sample of "netstat -v" from your AIX box ?


Regards,
Henrik
list Thomas Seglard · Wed, 5 Apr 2006 17:36:02 +0200 ·
Are you interested by a netstat -v from aix 4.2 / 4.3 / 5.2 and 5.3 ? I you want, I could provide you these outputs and from several versions of solaris (6->10), hpux (10.20 --> 11i)
Best regards,

Thomas


user-ce4a2c883f75@xymon.invalid (Henrik Stoerner) a écrit sur 05/04/2006 17:23:29 :
quoted from Henrik Størner
On Wed, Apr 05, 2006 at 04:06:22PM +0100, Morris, Chris (Shared Services) wrote:
Hi,
I have just built the hobbit 4.2-alpha-20060404 release server on an 
AIX 5.2
system.
hobbit_rrd is crashing every 5 mins
hobbitlaunch.log : Task rrddata terminated, status 1
rrd-data.log : xcalloc: Out of memory!
Always seems to crash on the second message (ifstat) although all rrds are
updated execpt for vmstat!!
Ouch! This is a really bad oversight on my part. I've simply forgotten
to implement the "ifstat" handling for AIX, Solaris and HP-UX.

Problem is I don't know what the ifstat data from those OS'es look like.
Could you send me a sample of "netstat -v" from your AIX box ?


Regards,
Henrik

Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
list Henrik Størner · Wed, 5 Apr 2006 17:38:14 +0200 ·
quoted from Thomas Seglard
On Wed, Apr 05, 2006 at 05:36:02PM +0200, user-bb3e9041f07f@xymon.invalid wrote:
Are you interested by a netstat -v from aix 4.2 / 4.3 / 5.2 and 5.3 ? I 
you want, I could provide you these outputs and from several versions of 
solaris (6->10), hpux (10.20 --> 11i)
Absolutely. This should cover all of the OS'es I haven't looked at yet.
If you could send me those, it would be great.

(Send them directly to me, no need to spam the list with it).


Henrik
list Charles Jones · Wed, 05 Apr 2006 08:38:44 -0700 ·
Note that I just sent Henrik the output of netstat -v on Solaris 10.

-Charles
quoted from Thomas Seglard

Henrik Stoerner wrote:
Problem is I don't know what the ifstat data from those OS'es look like.
Could you send me a sample of "netstat -v" from your AIX box ?
list Thomas Seglard · Wed, 5 Apr 2006 17:44:15 +0200 ·
Ok. Thanks ! I will send Henrik other outputs !
Regards,

Thomas

Charles Jones <user-e86b4aeade4e@xymon.invalid> a écrit sur 05/04/2006 17:38:44 :
quoted from Thomas Seglard
Note that I just sent Henrik the output of netstat -v on Solaris 10.

-Charles

Henrik Stoerner wrote:
Problem is I don't know what the ifstat data from those OS'es look 
like.
Could you send me a sample of "netstat -v" from your AIX box ?
Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
list Henrik Størner · Wed, 5 Apr 2006 18:00:52 +0200 ·
quoted from Thomas Seglard
On Wed, Apr 05, 2006 at 05:23:29PM +0200, Henrik Stoerner wrote:
On Wed, Apr 05, 2006 at 04:06:22PM +0100, Morris, Chris (Shared Services) wrote:
Hi,

I have just built the hobbit 4.2-alpha-20060404 release server on an AIX 5.2
system.

hobbit_rrd is crashing every 5 mins

hobbitlaunch.log : Task rrddata terminated, status 1

rrd-data.log : xcalloc: Out of memory!
Always seems to crash on the second message (ifstat) although all rrds are
updated execpt for vmstat!!
Ouch! This is a really bad oversight on my part. I've simply forgotten
to implement the "ifstat" handling for AIX, Solaris and HP-UX.
Until I get these implemented, the attached patch should at least
prevent it from crashing.


Henrik

-------------- next part --------------
--- hobbitd/rrd/do_ifstat.c	2005/12/29 23:20:20	1.1
+++ hobbitd/rrd/do_ifstat.c	2006/04/05 15:59:00
@@ -46,12 +46,14 @@
 	if (ifstat_tpl == NULL) ifstat_tpl = setup_template(ifstat_params);
 	if (pcres_compiled == 0) {
 		pcres_compiled = 1;
+#if 0
 		ifstat_aix_pcres = compile_exprs("AIX", ifstat_aix_exprs, 
 						 (sizeof(ifstat_aix_exprs) / sizeof(ifstat_aix_exprs[0])));
 		ifstat_hpux_pcres= compile_exprs("HP-UX", ifstat_hpux_exprs, 
 						 (sizeof(ifstat_hpux_exprs) / sizeof(ifstat_hpux_exprs[0])));
 		ifstat_sunos_pcres = compile_exprs("SOLARIS", ifstat_sunos_exprs, 
 						 (sizeof(ifstat_sunos_exprs) / sizeof(ifstat_sunos_exprs[0])));
+#endif
 		ifstat_linux_pcres = compile_exprs("LINUX", ifstat_linux_exprs, 
 						 (sizeof(ifstat_linux_exprs) / sizeof(ifstat_linux_exprs[0])));
 	}
list Lars Ebeling · Wed, 5 Apr 2006 18:32:28 +0200 ·
As far as I can see no crash for me on HP-UX 11i (11.11)

Nothing in logfiles.

Lars

----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, April 05, 2006 5:23 PM
Subject: Re: [hobbit] 4.2 Alpha Release - hobbit_rrd crashing
quoted from Henrik Størner

Ouch! This is a really bad oversight on my part. I've simply forgotten
to implement the "ifstat" handling for AIX, Solaris and HP-UX.

Regards,
Henrik