The soft rlimit is to low for mongodb, the recommended minimum is 64000. This could be set in the systemd service via 'LimitNOFILE='. Could you please add this to the systemd service? Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5619c7f4b8cd351838a68bb9a17fc31408c6b422 commit 5619c7f4b8cd351838a68bb9a17fc31408c6b422 Author: Dennis Lamm <expeditioneer@gentoo.org> AuthorDate: 2022-04-22 09:44:57 +0000 Commit: Alexys Jacob <ultrabug@gentoo.org> CommitDate: 2022-04-26 13:37:07 +0000 dev-db/mongodb: systemd service set LimitNOFILE Closes: https://bugs.gentoo.org/839369 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 Closes: https://github.com/gentoo/gentoo/pull/25154 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org> dev-db/mongodb/files/mongodb.service-r1 | 12 +++ dev-db/mongodb/mongodb-4.2.15-r2.ebuild | 176 ++++++++++++++++++++++++++++++ dev-db/mongodb/mongodb-4.2.17-r1.ebuild | 177 +++++++++++++++++++++++++++++++ dev-db/mongodb/mongodb-4.4.10-r1.ebuild | 178 +++++++++++++++++++++++++++++++ dev-db/mongodb/mongodb-4.4.8-r2.ebuild | 177 +++++++++++++++++++++++++++++++ dev-db/mongodb/mongodb-5.0.2-r2.ebuild | 182 ++++++++++++++++++++++++++++++++ dev-db/mongodb/mongodb-5.0.5-r1.ebuild | 182 ++++++++++++++++++++++++++++++++ 7 files changed, 1084 insertions(+)