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

From LongJump Support Wiki
imported>Aeric
m (Text replace - 'Category:System Administration' to 'Category:Installation')
 
imported>Aeric
 
Line 8: Line 8:
#:'''Note:'''<br/>The location of the documents folder and the temp folder can be found by visiting<br> &nbsp; '''Settings > Service Provider Settings > Service Configuration'''.
#:'''Note:'''<br/>The location of the documents folder and the temp folder can be found by visiting<br> &nbsp; '''Settings > Service Provider Settings > Service Configuration'''.
#:
#:
# Delete old tomcat logs.<br>For example, delete files more than 10 days old in <tt>{installation folder}/tomcat/logs</tt>
# Delete old tomcat logs.<br>For example, delete files more than 10 days old in <tt>{install_dir}/tomcat/logs</tt>
#:
#:
# Delete old tomcat error logs.<br>For example, delete files more than 10 days old in <tt>{installation folder}/tomcat/logs/error</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 installation} directory>/apache/logs</tt><noinclude>
# Delete old apache logs.<br>For example, delete files older than 10 days in <tt>{apache_install_dir}/apache/logs</tt>
<noinclude>


[[Category:Installation]]
[[Category:Installation]]
</noinclude>
</noinclude>

Latest revision as of 22:55, 22 June 2011

Cleaning Up Temporary Files on the Server

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.
    Note:
    The location of the documents folder and the temp folder can be found by visiting
      Settings > Service Provider Settings > Service Configuration.
  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