From ed952c580d210c87a381042b85f18fa4ebb56891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Gonz=C3=A1lez-L=C3=B3pez?= <58361045+mgonzalezlopezudc@users.noreply.github.com> Date: Tue, 21 Apr 2026 13:49:34 +0200 Subject: [PATCH] Modify resource limits and reservations in common.yml Updated resource limits and reservations for memory and CPUs. Previous values made the IoT Agent to hang with 99% CPU consumption. --- docker-compose/common.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose/common.yml b/docker-compose/common.yml index 0e566db..0f2af45 100644 --- a/docker-compose/common.yml +++ b/docker-compose/common.yml @@ -88,11 +88,11 @@ services: deploy: resources: limits: + memory: 1024M + cpus: '2.0' + reservations: memory: 512M cpus: '1.0' - reservations: - memory: 256M - cpus: '0.5' environment: - IOTA_NORTH_PORT=${IOTA_NORTH_PORT} - IOTA_REGISTRY_TYPE=mongodb #Whether to hold IoT device info in memory or in a database @@ -279,4 +279,4 @@ volumes: driver_opts: type: none o: bind - device: ${PWD}/data-models \ No newline at end of file + device: ${PWD}/data-models