At peak times it's like every 5 minutes...
I just tried to mine... I mined a few blocks -> time out -> half the blocks are reset...
Gets pretty annoying at times.
At peak times it's like every 5 minutes...
I just tried to mine... I mined a few blocks -> time out -> half the blocks are reset...
Gets pretty annoying at times.
It also seems that if I see the broadcast message on the screen, I'm not got timed out, just some lag for like 10 seconds, and then server continues to work, but some people are disconnected, like 3-5.
When no message appears - a timeout.
Just a hypothesis. Don't have enough statistical data.
In the server logs I see the following happening:
And then everybody disconnects. It seems that a workaround for a bug in netty or java (not sure which yet) activates to prevent a crash. That is good, however the result is that the connections are dropped and everybody has to reconnect. Which isn't good obviously.Code:[21:39:46] [Netty IO #3/WARN]: Selector.select() returned prematurely 512 times in a row; rebuilding selector. [21:39:46] [Netty IO #3/INFO]: Migrated 2 channel(s) to the new Selector.
md-5, the guy behind Spigot, sais there is nothing he can do about it: https://github.com/SpigotMC/BungeeCord/issues/455
On netty's Github people are discussing various Linux kernels but I'm not sure if that is going to be any help to us since we're already on a newer kernel then the ones they are talking about: https://github.com/netty/netty/issues/2616
When we know more we'll post an update.
I have no idea how to run those servers...
But does it have to be Linux? Couldn't it work with another OS?
As I said... no idea if that is even possible...
Sorry about that second announcer. It was an attempt to have a more updated announcer plugin that could replace our last announcer that we removed due to the same issue of short pauses in gameplay. I'd venture to guess that any announcer using a similar system will cause the pauses so we may just have to have plain Jane announcements that don't have fancy colors, but it's better than nothing
It gets pretty much unplayable if many people are online... Mostly from 16 to 24 pm GMT+1 (my timezone). It times out every 5 minutes...
Around 22:00 CET I've disabled TCP segmentation offloading and generic segmentation offloading in the virtual network driver of the VM instance, this should work around the problem, but uses more cpu power to transmit packets. Let us know if this makes any difference.