Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
gotchawk_fdt
Contributor
Contributor

run-time environment job servers cache

I am seeing a lot of cruft accumulating in our /opt/Talend/TalendRemoteEngine/TalendJobServersFiles/cache/lib folder -- jar files that are no longer in use (IOW, the artifact and tasks associated have been deleted after the proof of concept was completed). Can you point me to where this is managed (in the TMC? elsewhere?) and the resources associated released/recovered?

2 Replies
gotchawk_fdt
Contributor
Contributor
Author

If this is described in on-line documentation that would be a great starting point.

Anonymous
Not applicable

Hello @Bill Gottschalk​ ,

You can change the settings in <runtime>/etc/org.talend.remote.jobserver.server.cfg file to clear old job files automatically.

 

By default, talend jobserver will keep the latest 3 month archivejobs, jobexecutions,

You can change the value to keep less (e.g. 1 month= 2592000) as the below, then restart the runtime, it will clear the jobs and executionlogs which are over 1 month automatically.

 

# 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

org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_DURATION_BEFORE_CLEANING_OLD_EXECUTIONS_LOGS=2592000

 

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

org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_DURATION_BEFORE_CLEANING_OLD_JOBS=2592000

 

# Time in seconds before cleaning cached libs from the current date, 3 months=3*30*24*60*60=7776000, set with 0 to disable delete action with this method

org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_DURATION_BEFORE_CLEANING_OLD_LIBS=2592000

 

please refer to the article https://help.talend.com/r/en-US/8.0/installation-guide-windows/talend-jobserver-clean-up-parameters

 

Best regards

Aiming