NetXMS Support Forum

English Support => General Support => Topic started by: vgourov on May 26, 2014, 01:52:37 PM

Title: Unable to create raw socket for ICMP protocol
Post by: vgourov on May 26, 2014, 01:52:37 PM
Hello,

I decided to make a new post about this since I am unable to understand most of the posts about it or they are clearly too old. I have been getting this warning on mutiple occassions already.

[26-May-2014 10:25:14.844] [WARN ] Unable to create raw socket for ICMP protocol

At some point the netxmsd stops and I need to manually start it. Sometimes I had to start it mutiple times before the server starts running properly. My question is what is causing this and is there a way to fix it? Thank you
Title: Re: Unable to create raw socket for ICMP protocol
Post by: Victor Kirhenshtein on May 26, 2014, 03:11:17 PM
Hi!

I'm currently investigating similar issue on one system. I'll post results here as well.

Best regards,
Victor
Title: Re: Unable to create raw socket for ICMP protocol
Post by: KjellO on June 03, 2014, 12:40:28 PM
Could it be a limit on maximum allowed open file descriptors? I have seen this log message on server with many nodes, and increasing the FD:s helped. This server now reports (for root user)
# ulimit -n
8192
# ulimit -Hn
16384
# ulimit -Sn
8192

To increase (at least on debian), see /etc/security/limits.conf and pherhaps /etc/sysctl.conf.

My limits.conf includes

root            soft    nofile          8192
root            hard    nofile          16384


Regards,
Kjell