-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
Fully Compatible
-
v9.0, v8.3, v8.0
-
Programmability 2026-04-28, Programmability 2026-05-26, Programmability 2026-07-07
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Issue Description:
Certain 8.X versions of MongoDB will exit during startup when running on Linux kernel versions 6.19 and later.
This behavior was introduced to mitigate the impact of userspace breaking changes in the linux kernel which impacted the tcmalloc memory allocator. These changes negatively impacted MongoDB's stability and correctness, and caused MongoDB to crash after ~60 seconds.
Linux kernel versions 7.0.14+ and 7.1.0+ (inclusive) restore previous userspace behavior.
This ticket (SERVER-125742) removes this graceful exit on Linux kernel versions containing the kernel fixes referenced above. This change will be released in the coming weeks in versions 8.0.30, 8.3.9, and 9.X+.
Please see the table below for the expected behavior of different versions of MongoDB on different versions of the Linux kernel.
Compatibility Matrix:
Fully supported
Impacted - see comment
| MongoDB Version | Linux Kernel < 6.19 | Linux Kernel 6.19 - 7.0.13 | Linux Kernel 7.0.14+ / 7.1.0+ (inclusive) |
|---|---|---|---|
|
|||
|
|||
|
|||
|
Root cause:
Changes to rseq behavior in the Linux Kernel impact the tcmalloc memory allocator, resulting in instability in MongoDB.
Fix or Remediations:
We recommend using the latest maintenance release of MongoDB for your respective major version.
This ticket (SERVER-125742) removes this graceful exit on Linux kernel versions containing the kernel fixes referenced above. This change will be released in the coming weeks in versions 8.0.30, 8.3.9, and 9.X+.
With the approval of a RESQ fix to the Linux Kernel 7.0 and later, the current graceful exit for kernel 6.19 and later needs to be updated. Pending how far back the patch to the Linux kernel is backported, we either can completely remove the block or only block version 6.19 specifically.
The patch for restoring the RESQ capability for both x86 and arm64 was completed with Linux kernel 7.0.14.
- fixes
-
SERVER-121912 Upgrade tcmalloc to include rseq bug fix
-
- Closed
-
- is depended on by
-
SERVER-131625 Add Ubuntu 26.04 support for Server.
-
- Blocked
-
- is duplicated by
-
SERVER-129219 I am experiencing this issue on Linux Mint 22.3 (based on Ubuntu 24.04) with Linux kernel 7.0.0-14-generic
-
- Closed
-
-
SERVER-129295 mongo 8.0.5+ crash-loops with SIGSEGV (exit 139) on arm64 / Raspberry Pi 5; 8.0.4 is fine
-
- Closed
-
- is related to
-
SERVER-131155 ubuntu 26 Linux 7.0.0-27-generic mongodb not working
-
- Open
-
-
SERVER-131787 Include debug symbols for tasks on rseq variants
-
- In Code Review
-
-
SERVER-131779 Add linux kernel exemptions for ubuntu specific patches
-
- In Progress
-
- related to
-
SERVER-129219 I am experiencing this issue on Linux Mint 22.3 (based on Ubuntu 24.04) with Linux kernel 7.0.0-14-generic
-
- Closed
-
-
SERVER-129295 mongo 8.0.5+ crash-loops with SIGSEGV (exit 139) on arm64 / Raspberry Pi 5; 8.0.4 is fine
-
- Closed
-
-
SERVER-131390 Remove 7.0.14 specific tests when the default kernel version for atlas is equal or newer
-
- Open
-
-
SERVER-121912 Upgrade tcmalloc to include rseq bug fix
-
- Closed
-