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

Remove File Descriptor init on Windows #344

Closed
wants to merge 2 commits into from

Conversation

aspect
Copy link
Collaborator

@aspect aspect commented Dec 2, 2023

It appears that instead of gracefully handling errors, on Windows fdlimit is causing a crash resulting in the daemon halting with buffer overflow error without any kind of a panic, even setting RUST_BACKTRACE=1 is not helping. With the help of @Callidon on Discord #development we narrowed it down to the changes in #333. In this PR I've isolated the code to run on MacOS and Linux only (as me and @biryukovmaxim have tested it on these platforms manually).

@aspect
Copy link
Collaborator Author

aspect commented Dec 2, 2023

We discovered that windows max fd value is 8192. Prepping another PR to handle this.

@aspect aspect closed this Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant