[SERVER-46701] Frequently facing issue with Too many open files Created: 06/Mar/20 Updated: 28/Apr/20 Resolved: 28/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | 3.6.17 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Arun Kumar | Assignee: | Dmitry Agranat |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
Hi Team, Frequently we are facing production issue with MongoDB v3.6.17 Mongod went down due to below errors. What is does mean and let us know the solution for this. Logs : NETWORK [listener] Error accepting new connection on 0.0.0.0:27017: Too many open files NETWORK [listener] Error accepting new connection on 0.0.0.0:27017: Too many open files |
| Comments |
| Comment by Dmitry Agranat [ 28/Apr/20 ] | |||||||||||||||||||||||||||||||
|
We haven’t heard back from you for some time, so I’m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket. Regards, | |||||||||||||||||||||||||||||||
| Comment by Dmitry Agranat [ 29/Mar/20 ] | |||||||||||||||||||||||||||||||
|
Hi, We still need additional information to diagnose the problem. If this is still an issue for you, would you please provide the requested information from my last comment? Thanks, | |||||||||||||||||||||||||||||||
| Comment by Dmitry Agranat [ 13/Mar/20 ] | |||||||||||||||||||||||||||||||
|
Would you please archive (tar or zip) the $dbpath/diagnostic.data directory (the contents are described here) and mongod logs covering the time of this event and attach it to this ticket? I've created a secure upload portal for you. Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time. Also, can you provide the output from these commands executed on the server in question via the dbpath? This would give us the total amount of files.
| |||||||||||||||||||||||||||||||
| Comment by Arun Kumar [ 10/Mar/20 ] | |||||||||||||||||||||||||||||||
|
Hi Dmitry, Already we have tune those variables. Could you please find my ulimit -a and limit.d output and let us know if anything need to change further. Error :
2020-03-10T03:46:20.723+0530 F - [conn1068439] Got signal: 6 (Aborted). Logs :
| |||||||||||||||||||||||||||||||
| Comment by Dmitry Agranat [ 08/Mar/20 ] | |||||||||||||||||||||||||||||||
|
Please validate that your cluster is configured according to our Production Notes, specifically this section. Thanks, |