Skip to content

Comments

fix: Avoid proxy server hang on Linux by setting connection limit to 1#1784

Merged
mergify[bot] merged 2 commits intomasterfrom
paulliu/fix-connection-hang-2
Aug 16, 2021
Merged

fix: Avoid proxy server hang on Linux by setting connection limit to 1#1784
mergify[bot] merged 2 commits intomasterfrom
paulliu/fix-connection-hang-2

Conversation

@ninegua
Copy link
Member

@ninegua ninegua commented Aug 12, 2021

This is essentially the same fix as in #1247.

We are still seeing this bug https://forum.dfinity.org/t/multiple-calls-queries-to-canister-blocks-them-all-from-sending-back-the-response/6406.

I believe by default there are 4 worker threads so concurrent connections are still possible. Unless we have strong evidence that this kills performance, I think it is better to unblock our users before we find a permanent solution.

@ghost ghost changed the title Avoid proxy server hang on Linux by setting connection limit to 1 fix: Avoid proxy server hang on Linux by setting connection limit to 1 Aug 12, 2021
@ninegua ninegua requested review from a user, jwiegley and krpeacock August 12, 2021 22:19
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Just for posterity: this webserver is only used to serve candid data when running dfx locally. So this change should be fine!

@ghost ghost added the automerge-squash label Aug 16, 2021
@mergify mergify bot merged commit 25f0712 into master Aug 16, 2021
@mergify mergify bot deleted the paulliu/fix-connection-hang-2 branch August 16, 2021 22:01
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