SDP-374

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler created this job , modified by C. Thomas Tyler
Closed
Fixed off-by-three-orders-of-magnitude error in proxy cleanup script.
25359Fixed off-by-three-orders-of-magnitude error in Proxy cleanup script.

The key change is to adjust the output of a stat() call, dividing
the numeric value in bytes returned by 1024 to get the number of
Kilobytes.

This script makes use of the Perl stat() function, the details of
which are helpful: https://perldoc.perl.org/functions/stat.html

See also: SDP-191 and change @21751. This was an earlier change that
detected the bytes/Kilobtyes confusion, and addressed it by adjusting
the default threshhold values from the baseline version.  This change
change undoes that method of addressing the problem, rolling back to
the original defaults for thresholds.  Now with the calculation
adjusted to use KB rather than bytes, the original change is no longer
needed.

#review @amorriss
25552Fixed off-by-three-orders-of-magnitude error in Proxy cleanup script.

The key change is to adjust the output of a stat() call, dividing
the numeric value in bytes returned by 1024 to get the number of
Kilobytes.

This script makes use of the Perl stat() function, the details of
which are helpful: https://perldoc.perl.org/functions/stat.html

See also: SDP-191 and change @21751. This was an earlier change that
detected the bytes/Kilobtyes confusion, and addressed it by adjusting
the default threshhold values from the baseline version.  This change
change undoes that method of addressing the problem, rolling back to
the original defaults for thresholds.  Now with the calculation
adjusted to use KB rather than bytes, the original change is no longer
needed.

#review @amorriss
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
C. Thomas Tyler
Reported Date
Modified By
C. Thomas Tyler
Modified Date
Owned By
tom_tyler
Component
core-unix
Type
Bug