[SERVER-10931] Init script in RPM sets ulimit too low Created: 26/Sep/13  Updated: 11/Jul/16  Resolved: 19/Nov/13

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 2.4.6
Fix Version/s: 2.5.5

Type: Bug Priority: Major - P3
Reporter: William Zola Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/RPMS/mongo-10gen-2.4.6-mongodb_1.x86_64.rpm


Issue Links:
Depends
Duplicate
is duplicated by SERVER-6443 Packages should set ulimit -u in init... Closed
Backwards Compatibility: Minor Change
Operating System: Linux
Participants:

 Description   

The file ./etc/rc.d/init.d/mongod in the RPM contains the line:

ulimit -n 12000

This line will lower the open files from the default, and from the recommended value. Per the documentation, the recommended values are

ulimit -n 64000
ulimit -u 32000



 Comments   
Comment by Githook User [ 19/Nov/13 ]

Author:

{u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-10931 set ulimits in init scripts to match documentation

This sets resource limits across all Linux packages to match our
recommended settings -
http://docs.mongodb.org/manual/reference/ulimit/#recommended-settings
Branch: master
https://github.com/mongodb/mongo/commit/1b4c5d4f2c1ea6f25a035884adc7fea884c25334

Generated at Thu Feb 08 03:24:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.