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: playout:
image: ghcr.io/libretime/libretime-playout:${LIBRETIME_VERSION:-latest} image: ghcr.io/libretime/libretime-playout:${LIBRETIME_VERSION:-latest}
init: true
ulimits:
nofile: 1024
depends_on: depends_on:
- rabbitmq - rabbitmq
volumes: volumes:
@ -33,6 +36,9 @@ services:
liquidsoap: liquidsoap:
image: ghcr.io/libretime/libretime-playout:${LIBRETIME_VERSION:-latest} image: ghcr.io/libretime/libretime-playout:${LIBRETIME_VERSION:-latest}
command: /usr/local/bin/libretime-liquidsoap command: /usr/local/bin/libretime-liquidsoap
init: true
ulimits:
nofile: 1024
ports: ports:
- 8001:8001 - 8001:8001
- 8002:8002 - 8002:8002
@ -46,6 +52,9 @@ services:
analyzer: analyzer:
image: ghcr.io/libretime/libretime-analyzer:${LIBRETIME_VERSION:-latest} image: ghcr.io/libretime/libretime-analyzer:${LIBRETIME_VERSION:-latest}
init: true
ulimits:
nofile: 1024
depends_on: depends_on:
- rabbitmq - rabbitmq
volumes: volumes:
@ -56,6 +65,9 @@ services:
worker: worker:
image: ghcr.io/libretime/libretime-worker:${LIBRETIME_VERSION:-latest} image: ghcr.io/libretime/libretime-worker:${LIBRETIME_VERSION:-latest}
init: true
ulimits:
nofile: 1024
depends_on: depends_on:
- rabbitmq - rabbitmq
volumes: volumes:
@ -65,6 +77,9 @@ services:
api: api:
image: ghcr.io/libretime/libretime-api:${LIBRETIME_VERSION:-latest} image: ghcr.io/libretime/libretime-api:${LIBRETIME_VERSION:-latest}
init: true
ulimits:
nofile: 1024
depends_on: depends_on:
- postgres - postgres
- rabbitmq - rabbitmq
@ -74,6 +89,9 @@ services:
legacy: legacy:
image: ghcr.io/libretime/libretime-legacy:${LIBRETIME_VERSION:-latest} image: ghcr.io/libretime/libretime-legacy:${LIBRETIME_VERSION:-latest}
init: true
ulimits:
nofile: 1024
depends_on: depends_on:
- postgres - postgres
- rabbitmq - rabbitmq