Getting "ISPN005028: Native Epoll transport not available, using NIO instead: java.lang.UnsatisfiedLinkError" warning message when starting Red Hat JBoss Data Grid 7.2.3

Solution Verified - Updated -

Environment

  • Red Hat JBoss Data Grid (JDG)
    • 7

Issue

We encountered the following message when starting Data Grid.

2019-02-13 17:09:37,768 WARN  [org.infinispan.server.core.transport.NettyTransport] (MSC service thread 1-7) ISPN005028: Native Epoll transport not available, using NIO instead: java.lang.UnsatisfiedLinkError: /tmp/libnetty-transport-native-epoll5675419022282594614.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/libnetty-transport-native-epoll5675419022282594614.so)

Resolution


Disclaimer: Links contained herein to an external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.


Netty supports the use of native-epoll-connection by adding an optional dependency. If the driver is not present, Netty will fallback to using NIO instead of the native protocol.

This is just a warning message regarding which JNI transport was chosen.
There is only a very small performance improvement if the native-poll can be used, but even if the WARN message is seen the functionality is correct.
Consider this does not mean it will be completely switches back from Netty to NIO, it is only the use of native epoll.

Note that this WARN message will happen for any DG 7.x server installed on RHEL6 because of the older libraries here, from 7.3 onwards the client will show the same warning as it starts using Netty as well.

If RHEL 7 is used and users update the operating-system, the warning will not longer show as the required libraries are available here by default.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments