[CDRIVER-385] fd leaks when reconnect sharding cluster Created: 26/Jun/14  Updated: 03/May/17  Resolved: 26/Jun/14

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 0.96.4
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: YuQing Assignee: Christian Hergert
Resolution: Done Votes: 0
Labels: driver, sharding
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 6


Attachments: Text File 0001-close-old-connections-before-reconnect.patch    

 Description   

mongo c client reconnects sharding cluster for every insert because the persistent connection can't keep. the file descriptions exhaust due to the socket fd leak.



 Comments   
Comment by Christian Hergert [ 26/Jun/14 ]

Thanks for the patch!

This has been committed to git master and will be part of the next release.

Generated at Wed Feb 07 21:09:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.