How to purge TAC repositories to increase memory

Overview

In several projects, you can have performance issues due to memory problems. In fact, some TAC repositories take a lot of memory, and it is possible to purge them to increase memory.


Environment

This issue can arise in all Talend environments.


Resolution

It is possible to add extra parameters in the configuration.property file to clean logs. The path to access to this file is apache-tomcat\webapps\org.talend.administrator\WEB-INF\classes.

The following parameters must be added to the configuration.property file, and you have to reboot the tomcat server after updating the file.

configuration.file 

### Temporary data cleaning parameters ###

# Time in seconds between each cleaning action, set
with 0 to disable all cleanings
scheduler.conf.cleaning.frequencyCleaningAction=600

# Time in seconds before cleaning executions logs
from the current date, 3 months=3*30*24*60*60=7776000, set with 0 to disable
delete action with this method
scheduler.conf.cleaning.maxDurationBeforeCleaningOldExecutionsLogs=0

# Max executions logs to keep, set with 0 to disable
delete action with this method.
scheduler.conf.cleaning.maxOldExecutionsLogs=1000

# Time in seconds before cleaning archives jobs from
the current date, 3 months=*30*24*60*60=7776000, set with 0 to disable delete
action with this method
scheduler.conf.cleaning.maxDurationBeforeCleaningOldJobs=0

# Max archive jobs to keep, set with 0 to disable
delete action with this method.
scheduler.conf.cleaning.maxOldJobs=3

 

You can also clean the temp and work repositories below the apache-tomcat directory.

Version History
Revision #:
8 of 8
Last update:
‎04-17-2017 09:22 PM
Updated by:
 
Labels (1)
Tags (1)