[DOCS-13025] Why MongoDB suggest open files number in Linux is 64000? Created: 09/Sep/19  Updated: 30/Oct/23  Resolved: 09/Sep/19

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: 3.6.1
Fix Version/s: Server_Docs_20231030

Type: Feedback Priority: Major - P3
Reporter: Doanh Ngô Văn Assignee: Stennie Steneker (Inactive)
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Participants:
Days since reply: 4 years, 22 weeks, 2 days ago

 Description   

[MongoDB - Number Open files] Why MongoDB suggest open files number in Linux is 64000? My DB set the open files number is 1000.000 and sometime it get stuck.



 Comments   
Comment by Doanh Ngô Văn [ 10/Sep/19 ]

thank you!

Comment by Stennie Steneker (Inactive) [ 09/Sep/19 ]

Hi developer.doanhngo@gmail.com,

Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server; documentation feedback should be reported in the DOCS project.

I've already followed up on your mongodb-user post regarding this same topic, but for reference for others finding this issue, the response was:

The recommended ulimit settings and information in the Production Notes provide general guidance but do not necessarily suit all deployments. If your deployment has special requirements (such as a large number of collections & indexes), you need to adjust limits so they are appropriate for your use case.

The ulimit reference in the MongoDB manual includes more information on how file descriptors are used as well as possible consequences of setting limits too low. Limits are intended to put a reasonable upper bound on resource consumption. If your limits are set too high it is possible that your workload may exceed available resource capacity, which will result in stalls or other performance issues.

Regards,
Stennie

Generated at Thu Feb 08 08:06:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.