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

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
 
(3 intermediate revisions by the same user not shown)
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:


Line 5: Line 5:
#:
#:
# Delete old files in the temp folder.<br>For example, delete files more than 5 days old.
# Delete old files in the temp folder.<br>For example, delete files more than 5 days old.
#:To find the location of the temp folder:
#:* From the {{Service Provider URL}}
#:* Go to '''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; '''[[File:GearIcon.png]] > {{TBD|ISV-Setup}} > Service Configuration'''.
# Delete old tomcat logs.<br>For example, delete files more than 10 days old in <tt>{install-dir}/profiles/IS_default/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 apache logs.<br>For example, delete files older than 10 days in <tt>{apache-install-dir}/apache/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>
<noinclude>
<noinclude>


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

Latest revision as of 11:38, 17 October 2019

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/IS_default/logs
  4. Delete old apache logs.
    For example, delete files older than 10 days in {apache-install-dir}/apache/logs