[SERVER-19509] The nproc ulimits are different across packages Created: 21/Jul/15  Updated: 24/Sep/15  Resolved: 19/Aug/15

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 3.0.4
Fix Version/s: 2.6.12, 3.0.7, 3.1.7

Type: Improvement Priority: Major - P3
Reporter: Anil Kumar Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Build 8 08/31/15
Participants:

 Description   

The recommended values for the nproc and nfiles is 64K as per the ulimit documentation - http://docs.mongodb.org/manual/reference/ulimit/

However this seems to be inconsistently applied to our packages for different OS flavour, i.e. RPM / SuSe has it defined as 64K whereas Ubuntu / Debian upstart packages define nfile = 64K and nproc = 32K.



 Comments   
Comment by Githook User [ 21/Sep/15 ]

Author:

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

Message: SERVER-19509 Update Upstart nproc ulimit to match recommendations

(cherry picked from commit f7675b0a306764d8a435a623b4af0b5bd63180d4)
Branch: v2.6
https://github.com/mongodb/mongo/commit/4f0808152055a7be0d1247cf4ef0cc8d863fcb2a

Comment by Githook User [ 21/Sep/15 ]

Author:

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

Message: SERVER-19509 Update Upstart nproc ulimit to match recommendations

(cherry picked from commit f7675b0a306764d8a435a623b4af0b5bd63180d4)
Branch: v3.0
https://github.com/mongodb/mongo/commit/46c353757931330296c4f88c67d8b31a1b5d65c6

Comment by Ernie Hershey [ 19/Aug/15 ]

Since the docs are consistent across master, 3.0, and 2.6, we should backport to 3.0 and 2.6.

Comment by Githook User [ 19/Aug/15 ]

Author:

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

Message: SERVER-19509 Update Upstart nproc ulimit to match recommendations
Branch: master
https://github.com/mongodb/mongo/commit/f7675b0a306764d8a435a623b4af0b5bd63180d4

Comment by Ernie Hershey [ 22/Jul/15 ]

Based on info from Anil -

Comment by Ramon Fernandez Marina [ 21/Jul/15 ]

Can you please specify on which version? In SERVER-17780 we fixed some inconsistencies with limits, so this issue may have been fixed already.

Thanks,
Ramón.

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