Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839369 - dev-db/mongodb systemd service file should set 'LimitNOFILE=64000' or similar
Summary: dev-db/mongodb systemd service file should set 'LimitNOFILE=64000' or similar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ultrabug
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-04-19 05:03 UTC by Dennis Lamm
Modified: 2022-04-26 13:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Lamm gentoo-dev 2022-04-19 05:03:32 UTC
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
Comment 1 Larry the Git Cow gentoo-dev 2022-04-26 13:37:15 UTC
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(+)