diff options
| author | Vikram Hosakote <vhosakot@cisco.com> | 2016-03-13 06:47:38 +0000 |
|---|---|---|
| committer | Vikram Hosakote <vhosakot@cisco.com> | 2016-03-13 07:02:27 +0000 |
| commit | 9d1911c5a497fe625989f5795676d9f2fa4029e6 (patch) | |
| tree | ce6cea3bec8376fa877c2818ae26f3788f37f70f /docker | |
| parent | 812b27867e3c73d327235fd43f076f7e5db7034c (diff) | |
| download | kolla-9d1911c5a497fe625989f5795676d9f2fa4029e6.tar.gz kolla-9d1911c5a497fe625989f5795676d9f2fa4029e6.zip | |
Fix false alert messages in HAProxy logs
Bug #1549753 raises false alarm about haproxy to the operator and
monitoring tools even though haproxy is running fine and there is
no issue.
haproxy uses UDP datagram socket for logging and the default queue
length of 10 datagrams causes false alert messages in haproxy
logs. This patch set fixes this bug by increasing the queue length
to 128.
Test results of the fix in this patch set are at
http://paste.openstack.org/show/490302/.
Change-Id: I64fdd17cd278d51616aa0dfa4e8d2a422c8ee630
Closes-Bug: #1549753
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/haproxy/extend_start.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/haproxy/extend_start.sh b/docker/haproxy/extend_start.sh index cf50a5c9f..16a65c0af 100644 --- a/docker/haproxy/extend_start.sh +++ b/docker/haproxy/extend_start.sh @@ -1,4 +1,8 @@ #!/bin/bash + +# Set datagram receiving queue length to 128 for haproxy's socket +sysctl net.unix.max_dgram_qlen=128 + # We are intentionally not using exec so we can reload the haproxy config later echo "Running command: '${CMD}'" $CMD |
