From e59eb9fe10723c564f7a79b100ba801d866e1085 Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Thu, 21 Mar 2024 14:08:01 +0100 Subject: [PATCH] sweep: #7527 fix: restored MemoryUsed in initialValues --- src/DIRAC/WorkloadManagementSystem/JobWrapper/Watchdog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DIRAC/WorkloadManagementSystem/JobWrapper/Watchdog.py b/src/DIRAC/WorkloadManagementSystem/JobWrapper/Watchdog.py index ed514288158..bc5e8488d11 100755 --- a/src/DIRAC/WorkloadManagementSystem/JobWrapper/Watchdog.py +++ b/src/DIRAC/WorkloadManagementSystem/JobWrapper/Watchdog.py @@ -716,10 +716,10 @@ def calibrate(self): self.log.warn("Could not get rss info from profiler", result["Message"]) else: self.initialValues["RSS"] = result["Value"] + self.initialValues["MemoryUsed"] = result["Value"] + self.parameters["MemoryUsed"] = [] self.log.verbose("RSS(MB)", f"{result['Value']:.1f}") self.parameters["RSS"] = [] - self.initialValues["MemoryUsed"] = result["Value"] - self.parameters["MemoryUsed"] = [] # We exclude fuse so that mountpoints can be cleaned up by automount after a period unused # (specific request from CERN batch service).