Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes fd leak in leasedb (ticket #2015) #1

Merged

Conversation

markberger
Copy link

Brian correctly diagnozed this issue and suggested the fix in Weekly Dev
Chat of 2013-07-09. This patch has been manually tested by Zooko using his
fdleakfinder and a unit test has been added to ensure that database connections
are properly closed. Without this patch, the 1819-cloud-merge branch uses
more than 1020 fds and will start failing on operating systems with a low fds
limit.

The portions affecting leasedb.py were written by Zooko and Daira.

Brian correctly diagnozed this issue and suggested the fix in Weekly Dev
Chat of 2013-07-09. This patch has been manually tested by Zooko using his
fdleakfinder and a unit test has been added to ensure that database connections
are properly closed. Without this patch, the 1819-cloud-merge branch uses
more than 1020 fds and will start failing on operating systems with a low fds
limit.

The portions affecting leasedb.py were written by Zooko and Daira.
@ghost ghost assigned daira Jul 12, 2013
@daira
Copy link

daira commented Jul 12, 2013

+1, will commit.

@daira daira merged commit e6da7e2 into LeastAuthority:1819-cloud-merge Jul 12, 2013
exarkun pushed a commit that referenced this pull request Sep 12, 2017
Add a test for the non-numeric pidfile contents case
exarkun pushed a commit that referenced this pull request Aug 15, 2019
update client.py to use DEFAULT_MAX_SEGMENT_SIZE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants