Size of Ressource logs grows

Document ID : KB000084472
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
N/A

When a Uproc is waiting for a Resource (File or Logical) a Resource Log is created in the log folder of the Area:
 
<DUAS>/log/<exp|sim|int|app>/<X|S|I|A><MU_ref><Uproc_ref>RES.<NUPR>

For example:
<DUAS>/log/exp/XV000000001U000000086RES.1220420

As long as the Uproc is waiting for the Resource, Dollar Universe will write 3 lines in this log file each time the Supervisor checks the Resource (every 30 seconds by default).

If it is the first Uproc of a Session, the Uproc will pass from "Event Wait" to "Time Overrun" when the condition is not met.

However, if it is the 2nd, 3th... or n-th Uproc of a Session, the Uproc will not pass to "Time Overrun" and the Uproc can stay in "Event Wait" indefinitely.

As a consequence the Resource Log can grow significantly!
Environment:
OS: All
OS Version: N/A
Cause:
Cause type:
By design
Root Cause: This behavior is by design
Resolution:
Following are 3 suggested options:
  1. Make sure that Resource conditions only exist in the first Uproc of a Session.
Or
  1. Regularly check Uprocs that remain in Event Wait longer than a week and stop them when the condition will no longer be met. Once the Uproc is cancelled, the corresponding Resource Log will automatically be purged according to the retention criteria of Uproc.
Or
  1. Set an alert (Warning and Critical) to monitor the remaining space on the volume that contains the job logs:
Node Settings > Maintenance > "Warning threshold for the monitoring of the available space of the log file system (MB)" and
Node Settings > Maintenance > "Critical threshold for the monitoring of the available space of the log file system (MB)"


Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A