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

add maxconn value to haproxy #3567

Merged
merged 1 commit into from
Oct 20, 2023
Merged

add maxconn value to haproxy #3567

merged 1 commit into from
Oct 20, 2023

Conversation

szaimen
Copy link
Collaborator

@szaimen szaimen commented Oct 19, 2023

Fix #3566

@szaimen szaimen added 3. to review Waiting for reviews bug Something isn't working labels Oct 19, 2023
@szaimen szaimen added this to the next milestone Oct 19, 2023
@szaimen szaimen requested a review from Zoey2936 October 19, 2023 18:37
@@ -1,5 +1,8 @@
# Inspiration: https://github.com/Tecnativa/docker-socket-proxy/blob/master/haproxy.cfg

global
maxconn 2000
Copy link
Collaborator

Choose a reason for hiding this comment

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

is there are reason for using this number?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No

Copy link
Collaborator

Choose a reason for hiding this comment

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

do you know how many connection Appapi uses?

Copy link
Collaborator Author

@szaimen szaimen Oct 19, 2023

Choose a reason for hiding this comment

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

@andrey18106 @bigcat88 do you know? ⤴️

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it that necessary? AppAPI uses connection to daemon only during administration actions

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Apparently maxconn is needed on some system. See #3566

Copy link
Contributor

Choose a reason for hiding this comment

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

It would be enough with reserve set it to 10 I guess.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

all right. adjusted.

Signed-off-by: Simon L <szaimen@e.mail.de>
@szaimen szaimen force-pushed the fix/3566/fix-haproxy branch from 62a6a31 to 36acb8e Compare October 20, 2023 11:41
@szaimen szaimen merged commit ab044fd into main Oct 20, 2023
3 checks passed
@szaimen szaimen deleted the fix/3566/fix-haproxy branch October 20, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker Socket Proxy fails to start.
3 participants