Skip to content

init: Fixes for file descriptor accounting#27539

Closed
Empact wants to merge 4 commits into
bitcoin:masterfrom
Empact:2023-04-minimum-file-descriptor-18911
Closed

init: Fixes for file descriptor accounting#27539
Empact wants to merge 4 commits into
bitcoin:masterfrom
Empact:2023-04-minimum-file-descriptor-18911

Conversation

@Empact

@Empact Empact commented Apr 28, 2023

Copy link
Copy Markdown
Contributor

This rebases and revises #16003 for clarity of review.

Aims to fix #18911.

@DrahtBot

DrahtBot commented Apr 28, 2023

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
Concept ACK fjahr, TheCharlatan

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #29415 (Broadcast own transactions only via short-lived Tor or I2P connections by vasild)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@Empact Empact force-pushed the 2023-04-minimum-file-descriptor-18911 branch from 856a770 to f9f1460 Compare April 28, 2023 18:38
@Empact Empact force-pushed the 2023-04-minimum-file-descriptor-18911 branch from f9f1460 to bbad166 Compare April 28, 2023 18:39
@glozow glozow added the Docs label May 8, 2023

@fjahr fjahr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

I think it would be very helpful to add comments to explain what is going on. See my accidentally duplicate PR for some suggestions: #27730.

Comment thread src/init.cpp Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs an explanation of why it is ok to take FD_SETSIZE completely out of the equation in the commit description.

@sedited

sedited commented Oct 24, 2023

Copy link
Copy Markdown
Contributor

Concept ACK

First three commits look good, but the last one needs more descriptions and comments as mentioned by fjahr.

@DrahtBot

DrahtBot commented Feb 5, 2024

Copy link
Copy Markdown
Contributor

🤔 There hasn't been much activity lately and the CI seems to be failing.

If no one reviewed the current pull request by commit hash, a rebase can be considered. While the CI failure may be a false positive, the CI hasn't been running for some time, so there may be a real issue hiding as well. A rebase triggers the latest CI and makes sure that no silent merge conflicts have snuck in.

Empact and others added 4 commits March 4, 2024 15:38
Co-authored-by: tryphe <tryphe@noreply.github.com>
And fix the amount of descriptors requested

Co-authored-by: tryphe <tryphe@noreply.github.com>
@Empact Empact force-pushed the 2023-04-minimum-file-descriptor-18911 branch from bbad166 to 44872b3 Compare March 4, 2024 18:38
@DrahtBot DrahtBot removed the CI failed label Mar 4, 2024
@sedited

sedited commented May 1, 2024

Copy link
Copy Markdown
Contributor

This was rebased fairly recently, but you have not addressed this open comment #27539 (comment) . Are you still working on this?

@sr-gi

sr-gi commented May 8, 2024

Copy link
Copy Markdown
Member

I've been reviewing #29415 (which is extending the current brain-hurting approach on master), so I ended up considering fixing this. If @Empact is not working on it anymore I may pick it up

@fanquake

Copy link
Copy Markdown
Member

Closing for now, re #30065.

@fanquake fanquake closed this May 15, 2024
@bitcoin bitcoin locked and limited conversation to collaborators May 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve minimum file descriptor accounting and documentation

7 participants