Skip to content

Commit

Permalink
Merge pull request DIRACGrid#7528 from DIRACGridBot/cherry-pick-2-26f…
Browse files Browse the repository at this point in the history
…60b621-integration

[sweep:integration] fix: restored MemoryUsed in initialValues
  • Loading branch information
fstagni authored Mar 21, 2024
2 parents 0b16700 + e59eb9f commit b9a936f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DIRAC/WorkloadManagementSystem/JobWrapper/Watchdog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit b9a936f

Please sign in to comment.