6 months agoNeal Firth committed change 30621 into perforce-software-sdp:dev Enhanced messaging to allow easier determination of operation in progress using a tail of the log file. Moved delete of the nomination file from be...fore space recovery deletes until after space recovery deletes. Otherwise, a run overlapping the space recovery deletes could potentially include files nominated for delete resulting in a smaller than expected recovery of space. « | ||
Add a comment | ||
8 months agoNeal Firth committed change 30519 into perforce-software-sdp:dev Modified through swarm to change DOS line endings to Unix line endings. | ||
9 months agoNeal Firth commented on SDP-875 for The new 1.5 version of p4pcm.pl supports percentage thresholds. Default settings are 12% for low and 20% for high. The 12% allows a chance for the scr ...The new 1.5 version of p4pcm.pl supports percentage thresholds. Default settings are 12% for low and 20% for high. The 12% allows a chance for the script to run before the disk space gets into the 10% or less range which seems to be where monitoring alerts typically come into play. These coded defaults are based on observations of a production proxy for a customer doing unreal development. The suggested 3% low 8% high in the job description is unlikely to allow for enough "play" in the typical unreal world to detect before exhaustion. With unreal, hundreds of cached files can change in a short period of time which quickly fills the cache. Of course a very large proxy cache is an alternative. Regardless of the coded defaults, with a roughly 300G cache, p4pcm runs every 2 hours with a 20% low and 35% high. With this 2 hour cycle, low trigger is often between 16% and 18%. The original once a day script run (the current crontab default) was often finding 7% to 8% low trigger and failed once with exhausted disk space. Current steady state is a need for cache cleans about once every 10 days. On average, the last delete is a file last accessed roughly 15 days ago. Just some additional input on setting defaults. « | ||
9 months agoNeal Firth requested review 30424 (revision 1) for perforce-software-sdp:dev Modified through swarm. #review Major changes. Effectively a new approach. Significant performance improvements. Specifically: * Change from... time-last-modified to time-last-accessed. * Replace perl based find code with effectively equivalent shell code. Operates at least 7 times faster with smaller resource footprint than the perl code. * Threshold parameters can be specified as percentage of total disk space. * Enhanced parameter validation. * Enhanced log information for better performance tracking and debug support. * Added check so that a new run does not interrupt a run in progress. * Updated help information to reflect new technologies and capabilities. * Added internal algorithm related comments to aid future support/ enhancements. * Minor code consistency changes. Mostly adding support functions to standardize. « | ||
2 years agokathy_rayburn modified SDP-881 for Specify log date format for clarity and to avoid problems with some OSs. | ||
2 years agokathy_rayburn created SDP-881 for Specify log date format for clarity and to avoid problems with some OSs. | ||
2 years agokathy_rayburn created SDP-873 for Add rotation of p4triggers.log to rotate_last_run_logs in backup_functions.sh | ||
2 years agokathy_rayburn created SDP-873 for Add rotation of p4triggers.log to rotate_last_run_logs in backup_functions.sh | ||
2 years agokathy_rayburn committed change 29363 into perforce-software-sdp:dev Add rotation of p4triggers.log to rotate_last_run_logs | ||
2 years agokathy_rayburn committed change 29320 into perforce-software-sdp:dev | ||
2 years agokathy_rayburn modified SDP-860 for Directories that differ only by case aren't being caught by script. | ||
2 years agokathy_rayburn created SDP-860 for Directories that differ only by case aren't being caught by script. | ||
2 years agokathy_rayburn created SDP-860 for Directories that differ only by case aren't being caught by script. | ||
2 years agokathy_rayburn committed change 29223 into perforce-software-sdp:dev Reduce output to p4triggers.log file. | ||
2 years agokathy_rayburn committed change 29174 into perforce-software-sdp:dev Fix for directory case-only rename bug. Extensive modification of CheckCaseTrigger.py Addition of test cases to TestCheckCaseTrigger.py | ||
2 years agokathy_rayburn modified SDP-848 for New CheckCaseTrigger.py from SDP 2022.1 Patch 2 doesn't catch case-only folder renames. | ||
2 years agokathy_rayburn modified SDP-848 for New CheckCaseTrigger.py from SDP 2022.1 Patch 2 doesn't catch case-only folder renames. | ||
2 years agokathy_rayburn approved review 29062 for perforce-software-sdp:dev CheckCaseTrigger.py performance changes and bug fix for file/directory case comparisons. Also, always call p4 describe -s, not p4 describe. | ||
2 years agokathy_rayburn committed change 29066 into perforce-software-sdp:dev CheckCaseTrigger.py performance changes and bug fix for file/directory case comparisons. Also, always call p4 describe -s, not p4 describe. | ||
2 years agokathy_rayburn committed change 29065 into perforce-software-sdp:dev Add a BASH script that checks whether a command is allowed for a user. | ||
2 years agokathy_rayburn approved review 29034 for perforce-software-sdp:dev Add a BASH script that checks whether a command is allowed for a user. | ||