Difference between revisions of "Cleaning up Temporary Files on the Server"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 9: Line 9:
#:* Go to '''Settings > Service Provider Settings > Service Configuration'''.
#:* Go to '''Settings > Service Provider Settings > Service Configuration'''.
#:
#:
# Delete old tomcat logs.<br>For example, delete files more than 10 days old in <tt>{install_dir}/tomcat/logs</tt>
# Delete old tomcat logs.<br>For example, delete files more than 10 days old in <tt>{install_dir}/profiles/LJP/logs</tt>
#:
# Delete old tomcat error logs.<br>For example, delete files more than 10 days old in <tt>{install_dir}/tomcat/logs/error</tt>
#:
#:
# Delete old apache logs.<br>For example, delete files older than 10 days in <tt>{apache_install_dir}/apache/logs</tt>
# Delete old apache logs.<br>For example, delete files older than 10 days in <tt>{apache_install_dir}/apache/logs</tt>

Revision as of 10:02, 7 December 2016

Every few months, it's a good idea to remove old temporary files, to keep them from accumulating on the server. To do that:

  1. Delete old CSV files in the documents folder.
    For example, delete *.csv files that are more than 5 days old.
  2. Delete old files in the temp folder.
    For example, delete files more than 5 days old.
    To find the location of the temp folder:
  3. Delete old tomcat logs.
    For example, delete files more than 10 days old in {install_dir}/profiles/LJP/logs
  4. Delete old apache logs.
    For example, delete files older than 10 days in {apache_install_dir}/apache/logs