[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 SERVER-2359
https://github.com/mongodb/mongo/commit/fd3adf7629ea858fc5dd3a05d2ba9ba76a96a202

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

Generated at Thu Feb 08 02:59:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.