- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ICE Linux mond crashes on nodes with multiple netw...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 03:01 AM
тАО08-26-2008 03:01 AM
ICE Linux mond crashes on nodes with multiple network interfaces
The network data packet that mon needs to send will be >1024 requiring a realloc of memory. This realloc of memory command is broken in the liblinux_data library. I have fixed the code using the following patch.
--- linux_data_lib.c.old 2008-08-26 13:00:28.000000000 +0200
+++ linux_data_lib.c 2008-08-26 12:34:11.000000000 +0200
@@ -1275,7 +1275,7 @@
strlen(metric_footer);
if (out_length > BUF_SIZE)
- realloc(out_string, out_length * sizeof(char));
+ out_string= realloc(out_string, out_length * sizeof(char));
strncat(out_string, cpuuser, strlen(cpuuser));
strncat(out_string, cpunice, strlen(cpunice));
@@ -1958,7 +1958,7 @@
strlen(metric_header) + strlen(metric_footer);
if (out_length > BUF_SIZE)
- realloc(out_string, out_length * sizeof(char));
+ out_string= realloc(out_string, out_length * sizeof(char));
strncat(out_string, name, strlen(name));
strncat(out_string, rxbytes, strlen(rxbytes));
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 07:57 AM
тАО08-26-2008 07:57 AM
Re: ICE Linux mond crashes on nodes with multiple network interfaces
Thank you for the detailed posting.
Unfortunately, this is a big week for vactions and many members of the team are out. I'm working on getting you a reply to your 2 postings.
Are you a licensed ICE-Linux user, or are you just using the trial version? Also, what version are you running; 2.00 or 2.00.01 (recently released)?
If you are a licensed user, I may need to request that you submit a formal support case for each of these issues; but I'll need a developer to review the postings first.
Regards,
-Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 08:15 AM
тАО08-26-2008 08:15 AM
Re: ICE Linux mond crashes on nodes with multiple network interfaces
Thanks for the quick reply.
I'm using the 2.00.01 release that included the supermon-hp-2-0.43 src rpm.
At the moment it is a trail license to investigate the monitoring capabilities. Next month 100+ nodes arrive with official licenses.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 08:27 AM
тАО08-26-2008 08:27 AM
Re: ICE Linux mond crashes on nodes with multiple network interfaces
Thank you for your quick reply with the answers to my questions.
Since you don't have offically licensed nodes yet, you won't be able to submit a formal case, so we'll need to continue to use the forum; which is fine.
I will have someone on the team look into your posts as soon as possible; although it may take a few days due to vacations.
Reagrds,
-Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2008 06:21 AM
тАО08-27-2008 06:21 AM
Re: ICE Linux mond crashes on nodes with multiple network interfaces
I wanted to let you know that the ICE-Linux development engineer who is responsible for this area of the product is currently looking into your posting and proposed fix.
I'll update this posting after he completes his investigation.
Regards,
-Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 08:02 AM
тАО08-28-2008 08:02 AM
Re: ICE Linux mond crashes on nodes with multiple network interfaces
The developer has looked into this issue and would like to thank you for the posting and for your suggested fix. He will be using your fix along with additional code changes that we're identified during the investigation to create a complete fix for the reported issue.
This fix will be included in the next release of ICE-Linux; currently being planned as ICE-Linux v2.10, scheduled for release in January 2009.
Regards,
-Chris