[SERVER-7022] File Descriptor Configuration for MongoDB Deployment Created: 12/Sep/12 Updated: 18/Dec/12 Resolved: 04/Oct/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.0.3 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Minor - P4 |
| Reporter: | jitendra | Assignee: | Barrie Segal |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux OEL |
||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
Hi, I read the link on mongo db site regarding "Too many open files". (http://www.mongodb.org/display/DOCS/Too+Many+Open+Files) According to mongodb the formula is:
My purpose for asking this question is: I set file descriptor value as 35000 on my server. Since filesize in my case is 512 MB instead of 2048 MB(Default) so multiplying TotalSizeGB by 4:
T&R, |
| Comments |
| Comment by Ian Whalen (Inactive) [ 18/Dec/12 ] |
|
jitendra, for general questions such as this please begin a discussion in our forums at https://groups.google.com/forum/?fromgroups#!forum/mongodb-user if that conversation turns to confirmation you have found a bug, please open a bug here. |
| Comment by jitendra [ 18/Dec/12 ] |
|
Hi , |
| Comment by jitendra [ 13/Dec/12 ] |
|
Hi, We were running with file descriptor setting of 64000 for root user. ulimit -a shows 64000 whereas fs.file-max is 1601695. I have a confusion in max connection in the above formula. In the above formula, the (max(maxConns, 20,000)) is for one mongo process or overall for system? |
| Comment by Barrie Segal [ 04/Oct/12 ] |
|
Hi Jitendra, I'm closing this out. Please feel free to reopen it if you have further questions about this. Thanks, Barrie |
| Comment by Eliot Horowitz (Inactive) [ 15/Sep/12 ] |
|
How many files do you have? |
| Comment by Barrie Segal [ 12/Sep/12 ] |
|
Hi Jitendra, The Core Server project is generally meant for filing feature requests and bug reports. If you'd like someone to help troubleshoot an issue, please file a ticket in our Google Group here. Thanks, Barrie |
| Comment by jitendra [ 12/Sep/12 ] |
|
Hi , Thanks, |