MongoDB 8.x and Linux Kernel 6.19

Due to an incompatibility between a new kernel release and the currently vendored version of TCMalloc, running MongoDB 8.0 or newer with Linux kernel version 6.19 or later can cause MongoDB to crash on startup. This applies to all MongoDB packages, including those obtained from the MongoDB website, or obtained from package managers or Doc+ker. The crashes only impact customers not running on one of the currently supported Operating Systems for MongoDB or who have purposely upgraded to the latest kernel version manually.

To resolve a crash, you can downgrade to Linux Kernel 6.19 or earlier.

We are actively working with contributors from both Linux and TCMalloc to resolve this issue and will update the community when Linux Kernel 6.19 and later are supported.

8.0.4 works with kernel 7.x, every newer version breaks, so its not all 8.x, so it looks like its NOT the kernels fault.

1 Like

I’ve been waiting for the fix, and can confirm that v8.04 works!

Thanks.

I’ve just got out of this issue by changing the version to 8.0.4. This works.
Guys, also have a look at this article. You might find this helpful.

Click Here

I followed this article and just replaced the database image name from mongo to mongo:8.0.4 and everything just worked perfectly