[SERVER-18324] server crash on execute show dbs: too many open files Created: 05/May/15 Updated: 19/May/15 Resolved: 06/May/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 3.0.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Guillermo [X] | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | centos, wiredtiger | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux CentOS 6.5 |
||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Operating System: | Linux | ||||
| Participants: | |||||
| Description |
|
MongoDB shell version: 3.0.2
|
| Comments |
| Comment by Ramon Fernandez Marina [ 07/May/15 ] | ||||
|
No worries GuillerVks, glad to hear you're able to continue testing MongoDB. Feel free to take a look at our Administration Refenrece for more information before you go into production. Regards, | ||||
| Comment by Guillermo [X] [ 06/May/15 ] | ||||
|
now works perfectly. i'm so stu***!, Yes, is a test instance, but thanks for your recommendation. | ||||
| Comment by Ramon Fernandez Marina [ 06/May/15 ] | ||||
|
GuillerVks, I'm able to reproduce the same behavior you observe and the same stack trace in the server logs when I lower the limit on the maximum number of files that can be opened. Please bump up this limit to allow for normal mongod operation. I'd also recommend you don't run mongod as root, as per the startup warning. Regards, | ||||
| Comment by Ramon Fernandez Marina [ 06/May/15 ] | ||||
|
Thanks GuillerVks. It seem your open files limit is too low (1024), and you have a few more files than that in your mongod data dir. Can you please change the open files limit to something larger like 4096 and try again? | ||||
| Comment by Guillermo [X] [ 06/May/15 ] | ||||
|
Of Course. show limits
Count number of files in /opt/mongo/data
Regards. | ||||
| Comment by Ramon Fernandez Marina [ 06/May/15 ] | ||||
|
Thanks for the additional information GuillerVks. Can you please also run the following commands from a shell and post the output?
Thanks, | ||||
| Comment by Guillermo [X] [ 06/May/15 ] | ||||
|
Hi Ramon, | ||||
| Comment by Ramon Fernandez Marina [ 05/May/15 ] | ||||
|
GuillerVks, the error message indicates that mongod is no longer running. Can you check whether your mongod instance is running? Can you also upload the full server logs? |