Replies: 1 comment 6 replies
-
I wouldn't say it's expected to run out, but yes, someone could try to starve you out. This is not an axum thing though as you're providing the We also generally recommend to put a proxy like nginx in front of your axum server for hardening. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
In an earlier discussion, it was noted that Axum does not enabled keep-alive as part of
axum::serve
, which is arguably the main method people use to start a server. To understand the situation better, is it then the case that the server is losing one file descriptor each time a connection is not closed properly? So over time, the server is expected to run out of file descriptors. And it applies to all servers using Axum (without any auxiliary tweaks, such as the one above). Is this correct?axum version
0.8
Beta Was this translation helpful? Give feedback.
All reactions