🌐
MongoDB
mongodb.com › product & driver announcements
MongoDB 8.x and Linux Kernel 6.19 - Product & Driver Announcements - MongoDB Community Hub
March 31, 2026 - 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.
🌐
GitHub
github.com › stoatchat › self-hosted › issues › 268
INFO: MongoDB currently broken on Linux kernel 6.19 due to a broken dependency, causing database crashes · Issue #268 · stoatchat/self-hosted
March 27, 2026 - INFO: MongoDB currently broken on Linux kernel 6.19 due to a broken dependency, causing database crashes#268
Author   flexxyfluxx
Discussions

MongoDB 8.2.5 (tcmalloc-google) SIGSEGV crash loop on Linux kernel 6.19
Environment: MongoDB: 8.2.5 (tcmalloc-google allocator) Docker: latest OS: Fedora 43 Kernel tested: 6.19.x (broken), 6.18.7-200.fc43.x86_64 (stable) Filesystem: btrfs Symptoms: MongoDB crashes with SIGSEGV (exit code 139, signal 11) ever... More on github.com
🌐 github.com
0
March 26, 2026
MongoDB(8.*) container/quadlet crashes on tumbleweed with 6.19.*
Failing on 6.19.6-arch1-1. LTS kernel (6.18) is working More on reddit.com
🌐 r/mongodb
4
1
March 7, 2026
mongodb - Mongo service crashed. Need to find reason of crash - Stack Overflow
Today morning I found the following error with mongo, on my server. *** System restart required *** You have mail. ubuntu@ip-xxx-xx-xx-xx:~$ mongo MongoDB shell version: 2.4.9 connecting to: test ... More on stackoverflow.com
🌐 stackoverflow.com
Do I need to tune sysctl.conf under linux when running MongoDB? - Stack Overflow
We are seeing occational huge writes to disk in the MongoDB log, effectively locking MongoDB for a long time. Many people are reporting similar issues on the net, but I have found no good answers s... More on stackoverflow.com
🌐 stackoverflow.com
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
7.0.2-2-pve breaks Graylog due to MongoDB on an LXC. | Proxmox Support Forum
15 hours ago - If your MongoDB fails silently on this kernel, try running it manually as the mongodb user: Bash sudo -u mongodb /usr/bin/mongod --config /etc/mongod.conf<br> If it returns to the prompt immediately with no output, or if dmesg on the host shows ...
🌐
Percona
percona.com › home › blog › tuning linux for mongodb
Tuning Linux for MongoDB - Percona
August 12, 2016 - Note: to apply a filesystem-options change, you must remount (umount + mount) the volume again after stopping MongoDB, or reboot. Several defaults of the Linux kernel network tunings are either not optimal for MongoDB, limit a typical host with 1000mbps network interfaces (or better) or cause unpredictable behavior with routers and load balancers.
🌐
DEV Community
dev.to › seangles › the-30-second-death-a-memoir-3gc
The 30-Second Death: A Memoir - DEV Community
March 16, 2026 - If you're running MongoDB 8.0 in Docker on a Linux 6.19+ kernel with a newer AMD CPU and your container dies silently every ~30 seconds with exit code 139 — this is your fix:
🌐
GitHub
github.com › bluewave-labs › Checkmate › issues › 3444
MongoDB 8.2.5 (tcmalloc-google) SIGSEGV crash loop on Linux kernel 6.19 · Issue #3444 · bluewave-labs/Checkmate
March 26, 2026 - MongoDB 8.2.5 (tcmalloc-google) SIGSEGV crash loop on Linux kernel 6.19#3444 · Copy link · ali-commits · opened · on Mar 26, 2026 · Issue body actions · Environment: MongoDB: 8.2.5 (tcmalloc-google allocator) Docker: latest · OS: Fedora 43 · Kernel tested: 6.19.x (broken), 6.18.7-200.fc43.x86_64 (stable) Filesystem: btrfs ·
Author   ali-commits
🌐
Reddit
reddit.com › r/mongodb › mongodb(8.*) container/quadlet crashes on tumbleweed with 6.19.*
r/mongodb on Reddit: MongoDB(8.*) container/quadlet crashes on tumbleweed with 6.19.*
March 7, 2026 -

I'm running mongo 8.0/2 together with unifi on my tumbleweed system, via podman.

After an update, TW decided to switch my kernel from my -longterm version to 6.19.3/5, and my mongo started crashing after running for about a minute, without any clear log-entries, apart from a backtrace I cant seem to find in journalctl any more...

After i noticed the bootctl/uefi kernel eff-up, I restored my -longterm 6.12 kernel and everything is fine.

Is this Mr murphy just being very active on my system, or what?

Top answer
1 of 3
15

I had the same issue. After some searching I guessed it was os that sacrificed mongod for memory. If kernel killed your mongod you can find the logs in kernel logs

Mostly kernel logs will be in /var/log/kern.log, The logs might be rotated.

So better to do a grep

grep mongod /var/log/kern.log*

if the logs are archived find -name \*kern.log.*.gz -print0 | xargs -0 zgrep "mongod"

./kern.log.1:Nov 12 12:55:04 ip-xxx-xxx-xxx-xxx kernel: [8413229.118361] mongod invoked oom-killer: gfp_mask=0x24201ca, order=0, oom_score_adj=0
./kern.log.1:Nov 12 12:55:04 ip-xxx-xxx-xxx-xxx kernel: [8413229.118365] mongod cpuset=/ mems_allowed=0
./kern.log.1:Nov 12 12:55:04 ip-xxx-xxx-xxx-xxx kernel: [8413229.118371] CPU: 0 PID: 1830 Comm: mongod Not tainted 4.4.0-1062-aws #71-Ubuntu
./kern.log.1:Nov 12 12:55:04 ip-xxx-xxx-xxx-xxx kernel: [8413229.118531] [ 1301]   112  1301   300787   181207     485       4        0             0 mongod
./kern.log.1:Nov 12 12:55:04 ip-xxx-xxx-xxx-xxx kernel: [8413229.118680] Out of memory: Kill process 1301 (mongod) score 355 or sacrifice child
./kern.log.1:Nov 12 12:55:04 ip-xxx-xxx-xxx-xxx kernel: [8413229.130161] Killed process 1301 (mongod) total-vm:1203148kB, anon-rss:724828kB, file-rss:0kB
2 of 3
3

According to MongoDB documentation

The getLog command returns a document with a log array that contains recent messages from the mongod process log.

Please try executing following command in mongo shell to return logs which consist of information related to errors or warnings while initialization of mongod service

db.adminCommand({getLog: "startupWarnings" })

For detailed description regarding getLog method please refer the documentation mentioned in following URL

https://docs.mongodb.org/manual/reference/command/getLog/

🌐
Severalnines
severalnines.com › home › posts pages › optimizing your linux environment for mongodb
Optimizing Your Linux Environment for MongoDB | Severalnines
May 4, 2022 - Like any other software, an excellent network connection provides a better exchange interface for requests and responses with the server. However, MongoDB is not favored with the Linux default kernel network tunings. As the name depicts, this is an arrangement of many layers that can be categorized into 3 main ones: User area, Kernel area and Device area.
Find elsewhere
Top answer
1 of 1
1

The short answer is "yes". What values to choose depends very much on your write patterns. This gives background on exactly how MongoDB manages its mappings - it's not anything unexpected.

One wrinkle is that in a web-facing database application, you may care about latency more than throughput. vm.dirty_background_ratio gives the threshold for starting to write dirty pages, and vm.dirty_ratio tells when to stop accepting new writes (ie, block) until all writes have been flushed.

If you are hammering a relatively small working set, you can be OK with setting both of those values fairly high, and relying on Mongo's (or the OS's) periodic time-based flush-to-disk to commit the writes.

If you're conducting a high volume of inserts and also some modifications, which sounds like it might be your situation, it's a balancing act that depends on inserts vs. rewrites - starting to flush too early will cause writes that will be re-written soon, "wasting" io. Starting to flush too late will result in pauses as you flush huge writes.

If you're doing mostly inserts, then you may very well want a large dirty_ratio (to avoid blocking) and a relatively small dirty_background_ratio (small enough to always be writing as you're inserting to reduce latency, and just large enough to linearize some of the writes).

The correct solution is to replay some dummy data with various options for those sysctl parameters, and optimize it by brute force, bearing in mind your average latency / total throughput objectives.

🌐
Mydbops
mydbops.com › blog › out-of-memory-issues-in-mongodb
Fix MongoDB Out of Memory (OOM) Issues on Linux | Mydbops
3 weeks ago - This disruptive event occurs when the Linux kernel's OOM Killer intervenes to free up system resources by terminating processes, which can lead to the unexpected shutdown of essential services, including your MongoDB deployment.
🌐
Server Fault
serverfault.com › questions › 872006 › out-of-memory-issue-mongo-is-getting-killed-as-soon-as-i-start-my-java-applica
mongodb - Out of Memory Issue - Mongo is getting killed as soon as I start my java application - Server Fault
It seems that the OS is running out of physical memory, and since your server doesn't seem to have any swap configured, the kernel's out-of-memory killer (OOM-killer) kicks in and terminates processes to free up some RAM (in this case it's mongodb, ...
🌐
CachyOS Forum
discuss.cachyos.org › issues & assistance
Mongodb keeps crashing - Issues & Assistance - CachyOS Forum
February 28, 2026 - Hi! I am using CachyOS for a couple months now and lately I have been experiencing constant crashes when I run mongodb service. I installed mongodb from the AUR as I used to do on my previous Arch installation and I kee…
🌐
Medium
medium.com › gojekengineering › when-mongodb-isnt-slow-it-s-starved-a-performance-mystery-a233992a3f60
When MongoDB Isn’t Slow — It’s Starved: A Performance Mystery | by Yuvaraj A | Gojek Product + Tech | Jan, 2026 | Medium
January 12, 2026 - In reality, MongoDB is waiting for CPU time. Avoiding this behavior is less about tuning a database configuration and more about where execution is allowed to compete. Systems remain stable when kernel-level work and database background threads have predictable access to CPU time, and begin to degrade when that balance shifts.
🌐
MongoDB
mongodb.com › docs home › release notes
Release Notes for MongoDB 8.0 - Database Manual - MongoDB Docs
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 can cause MongoDB to crash on startup.
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › software & applications
mongodb install returns a broken pipe error - Linux Mint Forums
Welcome to the Linux Mint support forums! ... Forum rules Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation. ... Hi. So recently I have had some issues that required a revert of my whole system. Well that was a temp. fix. Today I upgraded to Mint 20, after multiple errors trying to install mongodb...
🌐
Stack Overflow
stackoverflow.com › questions › 37560834 › ec2-linux-mongodb-crash-without-logs-trap
EC2 Linux MongoDB crash without logs - trap? - Stack Overflow
May 24, 2017 - For a few days - maybe a week - mongodb is randomly crashing without any meaningful log in mongodb.log. It just works, then stops responding. The last lines in the file look purely functional: 2...
🌐
MongoDB
mongodb.com › docs home › release notes
Release Notes for MongoDB 8.2 - Database Manual - MongoDB Docs
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 can cause MongoDB to crash on startup.
🌐
Stack Overflow
stackoverflow.com › questions › 57206470 › mongodb-data-disappeared-after-kernal-panic-in-ubuntu
MongoDB data disappeared after kernal panic in Ubuntu - Stack Overflow
2019-07-26T01:03:56.093+0900 I CONTROL [initandlisten] ** We suggest setting it to 'never' 2019-07-26T01:03:56.093+0900 I CONTROL [initandlisten] 2019-07-26T01:03:56.093+0900 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. 2019-07-26T01:03:56.093+0900 I CONTROL [initandlisten] ** We suggest setting it to 'never' 2019-07-26T01:03:56.093+0900 I CONTROL [initandlisten] 2019-07-26T01:03:56.437+0900 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/var/lib/mongodb/diagnostic.data' 2019-07-26T01:03:56.440+0900 I NETWORK [initandlisten] waiting for connections on port 27017 2019-07-26T01:03:57.017+0900 I FTDC [ftdc] Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost.