NetXMS Support Forum

English Support => General Support => Topic started by: testos on May 19, 2011, 02:20:28 PM

Title: NetXMS sever 1.1.1 crash
Post by: testos on May 19, 2011, 02:20:28 PM
Hi.

Since I installed 1.1.1 server version, from time to time NetXMS console shows entire all nodes become to down simultaneously and do not respond to pol status. So then I restart the server and everything returns to normal ... until it happens again.

This is part of my netxmsd.log:

Quote[19-May-2011 12:48:15] Unable to create raw socket for ICMP protocol
[19-May-2011 12:48:15] Unable to create raw socket for ICMP protocol
[19-May-2011 12:48:15] Unable to create raw socket for ICMP protocol
[19-May-2011 12:48:15] Unable to create raw socket for ICMP protocol
[19-May-2011 12:48:15] Unable to create raw socket for ICMP protocol
[19-May-2011 12:48:15] Unable to create raw socket for ICMP protocol
[19-May-2011 12:48:15] Unable to create raw socket for ICMP protocol
[19-May-2011 12:48:15] Error returned by accept() system call: Too many open files
[19-May-2011 12:48:15] Error returned by accept() system call: Too many open files
[19-May-2011 12:48:15] Client session closed due to communication error (Success)
[19-May-2011 12:48:16] Error returned by accept() system call: Too many open files
[19-May-2011 12:48:16] Client session closed due to communication error (Success)
[19-May-2011 12:48:16] Error returned by accept() system call: Too many open files



Is it advisable rollback server previous version?


Best regards.
Title: Re: NetXMS sever 1.1.1 crash
Post by: testos on May 19, 2011, 02:38:14 PM

I want to clarify that server daemon process does not down.
No dump files are generated  (.info and .mdmp extensions).
Title: Re: NetXMS sever 1.1.1 crash
Post by: lomo on May 19, 2011, 03:36:43 PM
I'm experiencing same issue with 1.1.1 with the same messages on Debian Squeeze, compiled from sources.
Title: Re: NetXMS sever 1.1.1 crash
Post by: Victor Kirhenshtein on May 19, 2011, 11:18:11 PM
I can reproduce this issue on my server. Looks like file handle leak in the server. I'll try to fix this till Monday.

Best regards,
Victor
Title: Re: NetXMS sever 1.1.1 crash
Post by: Victor Kirhenshtein on May 20, 2011, 10:08:39 AM
Looks like I've found this leak (at least one of them, if there are many). Could you please replace file src/server/code/node.cpp with attached one and recompile the server?

Best regards,
Victor
Title: Re: NetXMS sever 1.1.1 crash
Post by: testos on May 20, 2011, 11:02:25 AM
Okay, I've replaced the file you tell me and recompiled server.

Thanks.
Best regards.
Title: Re: NetXMS sever 1.1.1 crash
Post by: testos on May 20, 2011, 03:44:53 PM
Five hours without problems, seems to look good  ::).

Best regards.
Title: Re: NetXMS sever 1.1.1 crash
Post by: testos on May 23, 2011, 09:12:49 AM
After over 70 hours NetXMS server is working normally.

Best regards.