fix: libretime process leaks and lsof high cpu usage (#2615)

This commit is contained in:
Cristian Oneț 2023-07-12 15:01:21 +03:00 committed by GitHub
parent 1a6f089329
commit bd6822fec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

View File

@ -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