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

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 1: Line 1:
=== Cleaning Up Temporary Files on the Server ===
<includeonly>=== Cleaning Up Temporary Files on the Server ===</includeonly>
Every few months, it's a good idea to remove old temporary files, to keep them from accumulating on the server. To do that:
Every few months, it's a good idea to remove old temporary files, to keep them from accumulating on the server. To do that:



Revision as of 21:25, 2 October 2013

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}/tomcat/logs
  4. Delete old tomcat error logs.
    For example, delete files more than 10 days old in {install_dir}/tomcat/logs/error
  5. Delete old apache logs.
    For example, delete files older than 10 days in {apache_install_dir}/apache/logs