[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Oracle Java 16.0.1 CPU usage 100% after kernel update to 4.19.0-17-amd64

On Wed 07 Jul 2021 at 09:35:17 (-0400), Polyna-Maude Racicot-Summerside wrote:
> On 2021-07-07 7:59 a.m., Dan Ritter wrote:
> > w f wrote: 
> >> I locally host and maintain some Minecraft (Java) servers for my kids and their friends. This morning, I kicked everyone off the servers while I did some routine maintenance. I finished with a standard sudo apt update && sudo apt full-upgrade
> >> A few things were updated - PHP, a library or two, and the kernel from 4.19.0-16-amd64 to 4.19.0-17-amd64
> >> All went fine.
> >> After I was done, I rebooted the system and fired up the MC servers. As soon as a player joins an MC server, the CPU usage on all cores slams to 100% and stays there. The game is unplayable.
> >> Nothing has changed with regards to the versions of game server, game clients, or Java.
> >> Debian buster.Oracle Java 16.0.1
> >> Is there any way to downgrade back to 4.19.0-16-amd64 ... ?

No need.

> Yes you can downgrand
> apt-get downlaod linux-image-4.19.0-16-amd64
> dpkg -i linux-image-
> > Probably, but I can attest that
> > 
> > openjdk-11-jre-headless
> > 
> > runs Minecraft servers perfectly well with that kernel, so
> > perhaps switching Java runtimes is a less drastic choice.
> > 
> I'd go with using openjdk-11-jre-headless
> As it's not a solution to downgrade the kernel, what do you do after
> this ? Stay with this kernel and hope it will be fixed for the next
> update (not knowing what's causing the issue)...

While taking no view on the cause of the problem, I would
recommend that you eliminate a kernel problem by running
version 16 of the kernel.

You should barely need to lift a finger to achieve this,
because version 16 should (a) still be installed, and
(b) be listed in the Grub menu under "Advanced options".


Reply to: