Unable to create raw socket for ICMP protocol

Started by vgourov, May 26, 2014, 01:52:37 PM

Previous topic - Next topic

vgourov

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

Victor Kirhenshtein

Hi!

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

Best regards,
Victor

KjellO

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