From 140b95a2d0f6b9ac6509879b41df0afec53b71f6 Mon Sep 17 00:00:00 2001
From: Clark Boylan <clark.boylan@gmail.com>
Date: Mon, 4 May 2020 13:00:52 -0700
Subject: [PATCH] Clear LD_PRELOAD variable on zuul-web containers

We have been having memory leak issues with zuul-web on our move from
running on the host with python3.5 to running in containers with
python3.7 and python3.8. One other thing that chagned was we added
LD_PRELOAD settings to use jemalloc instead of normal libc provided
malloc. In an effort to rule this out disable jemalloc in the zuul-web
containers.

Change-Id: Icf03b60266f876dd7c322e8c8f7c207b692d3ad7
---
 playbooks/roles/zuul-web/files/docker-compose.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/playbooks/roles/zuul-web/files/docker-compose.yaml b/playbooks/roles/zuul-web/files/docker-compose.yaml
index 7930b35820..456bda52b9 100644
--- a/playbooks/roles/zuul-web/files/docker-compose.yaml
+++ b/playbooks/roles/zuul-web/files/docker-compose.yaml
@@ -13,6 +13,8 @@ services:
       - /home/zuul:/home/zuul
       - /var/lib/zuul:/var/lib/zuul
       - /var/log/zuul:/var/log/zuul
+    environment:
+      LD_PRELOAD: ""
   fingergw:
     restart: always
     image: docker.io/zuul/zuul-fingergw:latest
@@ -24,3 +26,5 @@ services:
       - /home/zuul:/home/zuul
       - /var/lib/zuul:/var/lib/zuul
       - /var/log/zuul:/var/log/zuul
+    environment:
+      LD_PRELOAD: ""