mojira.dev
MC-252683

Unexpected exception in the selector loop causing server lag

When I start a server, the server loads normally, but once a player joins the game, the server console begins spitting out

[Netty Epoll Server IO #1/WARN]: Unexpected exception in the selector loop.
io.netty.channel.unix.Errors$NativeIoException: epoll_wait(..) failed: Function not implemented

This causes the tps of the server to tank and makes the server unplayable as a result.

Tested the server on both java 17 and java 18, both openjdk binaries with the same results

Comments 14

Is this specific to the world the server runs, or not?

I don't have this problem when joining a server.

It could be specific to the platform the server is hosted on rather than the world the server is running

Ah, wait, duplicate of MC-252520, redownload the server software, that should fix the issue.

@Dhranios just redownloaded the server jar from mojang's website and its still using netty 4.1.76 instead of netty 4.1.77

@Dhranios

Agree with above from Elijah Watson, this seems to still be a problem and the newest server.jar still uses Netty Library 4.1.76.Final.

4 more comments

Thanks for the update. Is there a workaround in the meantime? Or when is the fix expected to release?

According to the 22w24a changelogs, this has been fixed in 22w24a.

Can someone advise as to the expected release date of this fix?

This is a game breaking bug which has an easy fix.  It should be back-ported to 1.19.  It is well over a month, which is an unreasonable amount of time for a production build to be broken.

No known release date yet, but 1.19.1 is (once again) in release candidates, so not long anymore.

Fixes are never backported, updates exist for a reason, just be patient.

Actually, there is an ETA: https://www.minecraft.net/en-us/article/minecraft-1-19-1-release-candidate-2

If no critical issues are found, we expect to release the full version next week.

Elijah Watson

(Unassigned)

Community Consensus

(Unassigned)

1.19

22w24a

Retrieved