Kernel crash after "unregister_netdevice: waiting for lo to become free. Usage count"
This document (000020111) is provided subject to the disclaimer at the end of this document.
Situation
Issue
In a Linux Kubernetes cluster that has frequent pod creations and deletions along with large amounts of pod network traffic, the following error may be logged to the host system logs:
"unregister_netdevice: waiting for lo to become free. Usage count = 1"
The kernel will typically be in a semi-hung state after this, causing major system instability.
Resolution
This issue is fixed upstream in the Linux Kernel by this commit which was released in version 4.4.0.
We recommend upgrading to the latest linux kernel available in your distribution.
We have seen cases where certain kernel modules can cause this issue while loaded, even on a kernel that includes the fix above. If you are running a kernel higher than 4.4.0 and still seeing this issue, try disabling any third-party kernel modules to test.
Project/OS Specific bugs:
Docker - https://github.com/moby/moby/issues/5618
Ubuntu - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1403152
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1711407
RedHat - https://access.redhat.com/solutions/3105941 - https://access.redhat.com/solutions/3659011
Centos - https://bugs.centos.org/view.php?id=12711
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.