From 0070ee1d2411a1f67eb797692d26a5cb36101e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20One=C8=9B?= Date: Wed, 12 Jul 2023 15:01:21 +0300 Subject: [PATCH] fix: libretime process leaks and lsof high cpu usage (#2615) --- docker-compose.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 934265881..eed3c4d26 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,6 +22,9 @@ services: playout: image: ghcr.io/libretime/libretime-playout:${LIBRETIME_VERSION:-latest} + init: true + ulimits: + nofile: 1024 depends_on: - rabbitmq volumes: @@ -33,6 +36,9 @@ services: liquidsoap: image: ghcr.io/libretime/libretime-playout:${LIBRETIME_VERSION:-latest} command: /usr/local/bin/libretime-liquidsoap + init: true + ulimits: + nofile: 1024 ports: - 8001:8001 - 8002:8002 @@ -46,6 +52,9 @@ services: analyzer: image: ghcr.io/libretime/libretime-analyzer:${LIBRETIME_VERSION:-latest} + init: true + ulimits: + nofile: 1024 depends_on: - rabbitmq volumes: @@ -56,6 +65,9 @@ services: worker: image: ghcr.io/libretime/libretime-worker:${LIBRETIME_VERSION:-latest} + init: true + ulimits: + nofile: 1024 depends_on: - rabbitmq volumes: @@ -65,6 +77,9 @@ services: api: image: ghcr.io/libretime/libretime-api:${LIBRETIME_VERSION:-latest} + init: true + ulimits: + nofile: 1024 depends_on: - postgres - rabbitmq @@ -74,6 +89,9 @@ services: legacy: image: ghcr.io/libretime/libretime-legacy:${LIBRETIME_VERSION:-latest} + init: true + ulimits: + nofile: 1024 depends_on: - postgres - rabbitmq