When is passivation data cleaned up
Hi,
After user's certain period of time being inactive, clipboard contents are saved into a file or database depending on settings ("passivation"). My question is how long does this saved passivation data stay in a file or database? Forever? or does any agent clean up after a couple of days? If clean up, could somebody let me know:
- name of the agent that cleans up
- how long data stays in a system
Thanks,
Comments
Keep up to date on this post and subscribe to comments
Passivation data stay in db/file system for 24 hours from the time it saved. A Pega ootb agent called - System clean up runs every day mid night (need to check exact time) to delete aged passivation data. Hope this answer your question.
- reply
SystemCleaner agent does the delete of expired passivated requestors data. As per the code, passivated requestor context data is deleted if older than 2 days. It can be controlled by the below DSS or prconfig setting.
Owing ruleset: Pega-Engine
DSS purpose: prconfig/initialization/persistrequestor/contentExpiryThreshold/default
Value: 36000 (in seconds)
<env name="initialization/persistrequestor/contentExpiryThreshold" value="36000" /> (in seconds)
- reply
Hi SusanLiu,
What happen if we didn't create the DSS and configure the value <env name="initialization/persistrequestor/contentExpiryThreshold" value="36000" />.
Will it be stored permanently in DB?.
- reply
If you did not create the DSS which contain any configuration for initialization/persistrequestor/contentExpiryThreshold, as long as the SystemCleaner agent is up and running, the default value is 1 day. You can use "contentExpiryThreshold" to change the default value.
In terms of the passivation data, it should be cleaned up if certain conditions are met. If you see old passivated requestors not cleaned up, you can create a SR to further investigate.
- reply
Hi @SusanLiu,
We are using Pega version 7.4. Do you think Pega has chnaged how the Requestor clean up works?
As, the Agent SystemCleaner does not exist in the PegaRULES Agent rule. Please provide info.
Regards
- reply