PSM can not upload recording files because of maximum allowed file size limit
164
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 15:54 PM
Symptom
User found a lot of files with extension .tmp or .tmp.ot in their C:\Program Files (x86)\CyberArk\PSM\Temp folder
In PSM trace , we could see PSM was unable to upload these recording files to the Vault due to size limitations of the target safe.
PSMSRSRU003E [7c1aaac1-11f1-42f0-a68f-xxxxxxx] Failed to upload recording file 7c1aaac1-11f1-42f0-a68f-xxxxxxxxx.VID.avi. Error: SRU014E Failed to store file 7c1aaac1-11f1-42f0-a68f-xxxxxxxxxx.VID.avi in Vault. Reason: ITATS973E Could not store file 7c1aaac1-11f1-42f0-a68f-576ace09a8cc.VID.avi in Safe PSMRecordings due to size limitations. File size is 531630KB and maximum allowed file size is 51200KB.
Environment
10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7 Privileged Access Manager (PAM, self-hosted) PSM PSM and vault 10.8
Cause
By default , maximum allowed file size of recordings safe is 0 (unlimited). If a maximum allowed file size is set, PSM will not be able to upload recording files larger than the predefined limit hence orphan files are left in PSM temp folder.
Resolution
There is no GUI to configure the maxfilesize file limit, users can configure it with PACLI. Below is a reference to our online documentation.
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PACLI/Safe-Functions.htm?Highlight=maxfilesize%20#UpdateSafe
Here is an example script, please modify it as per your enviroment.
-------------------
pacli init
pacli define vault="Vault Name" address=VaultIPaddress
pacli logon vault="Vault Name" user=administrator password=password
pacli opensafe vault="Vault Name" user=administrator safe=PSMrecordings
pacli updatesafe vault="Vault Name" user=administrator safe=CPM_Log_Archive maxfilesize=0
pacli term
------------------