mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-11-30 23:16:04 +07:00
fix: Limit HAProxy maximum concurrent connections
If the limit is not configured, HAProxy derives it from the file descriptor limit. The higher the limit, the more memory HAProxy allocates. That limit can be so high on modern Linux distros that HAproxy allocates all available memory.
This commit is contained in:
@@ -36,6 +36,8 @@ global
|
||||
log /dev/log local0
|
||||
log /dev/log local1 notice
|
||||
daemon
|
||||
# limit memory usage to approximately 18 MB
|
||||
maxconn 100000
|
||||
|
||||
resolvers docker
|
||||
nameserver dns 127.0.0.11:53
|
||||
|
||||
Reference in New Issue
Block a user