[SERVER-2359] mongorestore maxes allowed file descriptors and files to read files. Created: 14/Jan/11 Updated: 12/Jul/16 Resolved: 16/Jan/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | None |
| Fix Version/s: | 1.7.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Vitaly Babiy | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Comments |
| Comment by auto [ 16/Jan/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: close bson file handles |
| Comment by Scott Hernandez (Inactive) [ 14/Jan/11 ] |
|
Looks like the file handles are never released, till the process ends. http://github.com/mongodb/mongo/blob/master/tools/tool.cpp#L365 |
| Comment by Vitaly Babiy [ 14/Jan/11 ] |
|
That was suppose to say mongorestore maxes allowed file descriptors and fails to read all files. I am using 1.7.4 |