What is the preferred or most stable Linux kernel version for running Jenkins?

What is the preferred or most stable Linux kernel version for running Jenkins?

Currently running on Ubuntu 22.04.4 LTS / Kernel 5.15.0-125-generic

We had a kernel panic when running Linux 5.15.0-130-generic. Could not find the cause and had to restore and use Kernel 5.15.0-125-generic. Just want to know if the vendor has found a most stable version.

I’m not aware of a preferred stable Linux kernel version. Normally I would say the newer the kernel the better. There are some checks for outdated OS versions but that usually only means that Jenkins is not validating Jenkins with older OS versions and using them is at own risk.
What you should also check is if you’re using the latest recommended Java version for the Jenkins version you’re using.

1 Like

As far as I know, we don’t recommend specific kernel versions. Personally, I would avoid anything older than 6.x. The Jenkins support policy
only lists general prerequisites, but the general guideline is to use Temurin’s OpenJDK and a Linux distro that is still supported by its provider.

Thank you for the direction, Bruno. Much appreciated!!