Skip to content

Commit a6fbf38

Browse files
Merge pull request #162 from Tecnativa/imp-fd-limit
[FIX] Raise default nofile limit for HAProxy v3
2 parents 0919fd7 + 0fdb8a8 commit a6fbf38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker-entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/sh
22
set -e
33

4+
# Raise default nofile limit for HAProxy v3
5+
ulimit -n 10000 2>/dev/null || true
6+
47
# Normalize the input for DISABLE_IPV6 to lowercase
58
DISABLE_IPV6_LOWER=$(echo "$DISABLE_IPV6" | tr '[:upper:]' '[:lower:]')
69

0 commit comments

Comments
 (0)