Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

[nginx-ingress-controller]: Improve performance (listen backlog=net.core.somaxconn) #1350

Merged
merged 4 commits into from
Jul 12, 2016

Conversation

aledbf
Copy link
Contributor

@aledbf aledbf commented Jul 12, 2016

No description provided.

@aledbf
Copy link
Contributor Author

aledbf commented Jul 12, 2016

ping @bprashanth

// maximum number of connections that can be queued for acceptance
func sysctlSomaxconn() int {
maxConns, err := sysctl.GetSysctl("net.core.somaxconn")
if err != nil || maxConns < 512 {

Choose a reason for hiding this comment

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

please log it too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@bprashanth
Copy link

LGTM just logging nit

@bprashanth
Copy link

LGTM thanks

@bprashanth bprashanth merged commit c22d4f1 into kubernetes-retired:master Jul 12, 2016
@aledbf aledbf deleted the nginx-backlog branch July 18, 2016 21:15
aledbf pushed a commit to aledbf/contrib that referenced this pull request Nov 10, 2016
[nginx-ingress-controller]: Improve performance (listen backlog=net.core.somaxconn)
@foolusion
Copy link

Hi i am wondering why this wasn't added to port 80 and 443 as well? @aledbf @bprashanth

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants