[SERVER-6734] Mongod give error "too many opens file" Created: 08/Aug/12 Updated: 02/Mar/17 Resolved: 08/Aug/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.0.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | jitendra | Assignee: | Barrie Segal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
linux OEL |
||
| Issue Links: |
|
||||||||
| Operating System: | Linux | ||||||||
| Participants: | |||||||||
| Description |
|
hi, We have following setup: all shards are journal enabled. Mongod1 become non-responsive. Logs show error "too many opens files". Below are the logs of that time: Wed Aug 8 15:19:10 [conn11] Accessing: 00070613 for the first time ntoreturn:1 exception: can't map file memory code:10085 reslen:126 138744ms ntoreturn:1 exception: can't map file memory code:10085 reslen:126 159834ms Please let us know of any solution. Thanks, |
| Comments |
| Comment by Barrie Segal [ 08/Aug/12 ] |
|
Jitendra, Can you please post on the mongodb user group so we can troubleshoot your issue there? Thanks. Barrie |
| Comment by jitendra [ 08/Aug/12 ] |
|
We did try above things. Although our file descriptor setting was low(Default: 1024). We increased it and ran mongo instances again. Another problem we are facing is: MongoD processes taking very high resident memory (5.5GB to 6.0 GB) Thanks, |
| Comment by Scott Hernandez (Inactive) [ 08/Aug/12 ] |
|
Please see the docs here : http://www.mongodb.org/display/DOCS/Too+Many+Open+Files |