
















@Bishwajit I redownloaded and rechecked the hashes, its OK for me, try a clean build and see if the issue persist or not, thanks
Aur (1) mongodb-bin-8.2.7-2
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs... PKGBUILDs up to date nothing new to review fetching devel info... ==> Making package: mongodb-bin 8.2.7-2 (Sat 18 Apr 2026 10:34:25 AM +06) ==> Retrieving sources... -> Found mongodb.sysusers -> Found mongodb.tmpfiles -> Found LICENSE -> Found mongodb-org-server_8.2.7_x86_64.deb -> Found mongodb-org-mongos_8.2.7_x86_64.deb ==> Validating source files with sha256sums... mongodb.sysusers ... Passed mongodb.tmpfiles ... Passed LICENSE ... Passed ==> Validating source_x86_64 files with sha256sums... mongodb-org-server_8.2.7_x86_64.deb ... FAILED mongodb-org-mongos_8.2.7_x86_64.deb ... FAILED ==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'mongodb-bin-8.2.7-2': error: packages failed to build: mongodb-bin-8.2.7-2
I ran a makepkg -g to get the keys. Working as intended.
==> Making package: mongodb-bin 8.2.7-1 (Fri 17 Apr 2026 07:32:28 AM CEST)
==> Retrieving sources...
-> Found mongodb.sysusers
-> Found mongodb.tmpfiles
-> Found LICENSE
-> Found mongodb-org-server_8.2.7_x86_64.deb
-> Found mongodb-org-mongos_8.2.7_x86_64.deb
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
mongodb.sysusers ... Passed
mongodb.tmpfiles ... Passed
LICENSE ... Passed
==> Validating source_x86_64 files with sha256sums...
mongodb-org-server_8.2.7_x86_64.deb ... FAILED
mongodb-org-mongos_8.2.7_x86_64.deb ... FAILED
==> ERROR: One or more files did not pass the validity check!
system: 6.19.9-arch1-1 mongodb: v8.2.5
Issue(Core dumped): mongodb-bin package ships a systemd service file with the flag GLIBC_TUNABLES=glibc.pthread.rseq=0, which disables restartable sequences in glibc. but tcmalloc (Ubuntu compiled) bundled inside mongod requires rseq to work correctly — without it, memory gets corrupted after ~1 minute, causing the SEGV crash.
Solution: Override service file system {sudo systemctl edit mongodb} with {Environment="GLIBC_TUNABLES="}, this simply replace this line Environment="GLIBC_TUNABLES=glibc.pthread.rseq=0"
this worked for me
I've tried all combinations of settings, including enabling THP to no avail. I've had to roll back to 6.18 for now.
My mongo had crashed so many times my WiredTiger files were corrupted. A repair did the trick. I am employing the method that @openworldbtw43 mentions above.
sudo -u mongodb /usr/bin/mongod --config /etc/mongodb.conf --repair
Here's the most upstream issue: https://github.com/google/tcmalloc/issues/292 (it was determined that the issue is actually in tmalloc, not the kernel)
If you're experiencing MongoDB crashes on version 8.2.5-1 with recent kernels like 6.19.6, try this fix:
Edit /usr/lib/systemd/system/mongodb.service Change: Environment="GLIBC_TUNABLES=glibc.pthread.rseq=0" from 0 to 1
sudo systemctl daemon-reload sudo systemctl restart mongodb This enables restartable sequences support, which should resolve stability issues on modern Linux kernels.
@csatsias Thanks. My current combination mongodb-bin-8.2.5-1 and linux-6.19.6-arch1-1 is also healed by overriding the mentioned env.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@ali.moiaei don't know the reason but a clean build solved it maybe hash issue