<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1255 How to address high disk usage in self-managed Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1255 How to address high disk usage in self-managed Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments</link><pubDate>Thu, 12 Sep 2024 21:55:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Current Revision posted to Appian Knowledge Base by pauline.delacruz on 9/12/2024 9:55:38 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Application log files described in the &lt;a href="https://docs.appian.com/suite/help/latest/Logging.html#overview" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt;&amp;nbsp;can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically&amp;nbsp;using the &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#log-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;. If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&amp;nbsp;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;Do not touch files within&amp;nbsp;the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;directory. For steps on dealing with Kafka logs, see below.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3&gt;Kafka Logs&lt;/h3&gt;
&lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" rel="noopener noreferrer" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/3550/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;The &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#appian-engine-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;&amp;nbsp;can be used to manage engine files (&lt;strong&gt;*.kdb&lt;/strong&gt;) and archived processes. KDB files should not be modified manually. &amp;nbsp;&lt;/p&gt;
&lt;h3 id="data"&gt;Documents&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10 &lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;September 2024&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: self-managed, administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in self-managed Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/11</link><pubDate>Thu, 12 Sep 2024 21:55:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 11 posted to Appian Knowledge Base by pauline.delacruz on 9/12/2024 9:55:24 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Application log files described in the &lt;a href="https://docs.appian.com/suite/help/latest/Logging.html#overview" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt;&amp;nbsp;can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically&amp;nbsp;using the &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#log-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;. If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&amp;nbsp;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;Do not touch files within&amp;nbsp;the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;directory. For steps on dealing with Kafka logs, see below.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3&gt;Kafka Logs&lt;/h3&gt;
&lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" rel="noopener noreferrer" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/3550/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;The &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#appian-engine-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;&amp;nbsp;can be used to manage engine files (&lt;strong&gt;*.kdb&lt;/strong&gt;) and archived processes. KDB files should not be modified manually. &amp;nbsp;&lt;/p&gt;
&lt;h3 id="data"&gt;Documents&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10 &lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: self-managed, administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in self-managed Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/12</link><pubDate>Thu, 12 Sep 2024 21:55:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 12 posted to Appian Knowledge Base by pauline.delacruz on 9/12/2024 9:55:24 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Application log files described in the &lt;a href="https://docs.appian.com/suite/help/latest/Logging.html#overview" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt;&amp;nbsp;can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically&amp;nbsp;using the &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#log-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;. If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&amp;nbsp;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;Do not touch files within&amp;nbsp;the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;directory. For steps on dealing with Kafka logs, see below.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3&gt;Kafka Logs&lt;/h3&gt;
&lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" rel="noopener noreferrer" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/3550/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;The &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#appian-engine-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;&amp;nbsp;can be used to manage engine files (&lt;strong&gt;*.kdb&lt;/strong&gt;) and archived processes. KDB files should not be modified manually. &amp;nbsp;&lt;/p&gt;
&lt;h3 id="data"&gt;Documents&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10 &lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: self-managed, administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in self-managed Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/10</link><pubDate>Tue, 29 Sep 2020 03:07:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Parmida Borhani on 9/29/2020 3:07:59 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Application log files described in the &lt;a href="https://docs.appian.com/suite/help/latest/Logging.html#overview" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt;&amp;nbsp;can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically&amp;nbsp;using the &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#log-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;. If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&amp;nbsp;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;Do not touch files within&amp;nbsp;the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;directory. For steps on dealing with Kafka logs, see below.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3&gt;Kafka Logs&lt;/h3&gt;
&lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" rel="noopener noreferrer" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/306/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;The &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#appian-engine-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;&amp;nbsp;can be used to manage engine files (&lt;strong&gt;*.kdb&lt;/strong&gt;) and archived processes. KDB files should not be modified manually. &amp;nbsp;&lt;/p&gt;
&lt;h3 id="data"&gt;Documents&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10 &lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: self-managed, administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in self-managed Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/9</link><pubDate>Thu, 28 Nov 2019 03:30:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Parmida Borhani on 11/28/2019 3:30:42 AM&lt;br /&gt;
&lt;div class="row content_container"&gt; &lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt; &lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt; &lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt; &lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt; &lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt; &lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt; &lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Log files&lt;/li&gt; &lt;li&gt;Application server cache&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;Application log files described in the &lt;a href="https://docs.appian.com/suite/help/latest/Logging.html#overview" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt;&amp;nbsp;can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically&amp;nbsp;using the &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#log-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;. If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&amp;nbsp;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;Do not touch files within&amp;nbsp;the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;directory. For steps on dealing with Kafka logs, see below.&amp;nbsp;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt; &lt;h3&gt;Kafka Logs&lt;/h3&gt; &lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" rel="noopener noreferrer" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt; &lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt; &lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/306/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt; &lt;h3 id="engines"&gt;Engines&lt;/h3&gt; &lt;p&gt;The &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#appian-engine-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;&amp;nbsp;can be used to manage engine files (&lt;strong&gt;*.kdb&lt;/strong&gt;) and archived processes. KDB files should not be modified manually. &amp;nbsp;&lt;/p&gt; &lt;h3 id="data"&gt;Documents&lt;/h3&gt; &lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt; &lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt; &lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt; &lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt; &lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10 &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt; &lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt; &lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt; &lt;/ul&gt; &lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt; &lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt; &lt;/div&gt; &lt;p&gt;Last Reviewed: November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in on-premise Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/8</link><pubDate>Thu, 28 Nov 2019 03:30:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Parmida Borhani on 11/28/2019 3:30:04 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Application log files described in the &lt;a href="https://docs.appian.com/suite/help/latest/Logging.html#overview" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt;&amp;nbsp;can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically&amp;nbsp;using the &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html#log-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;. If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&amp;nbsp;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;Do not touch files within&amp;nbsp;the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;directory. For steps on dealing with Kafka logs, see below.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3&gt;Kafka Logs&lt;/h3&gt;
&lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" rel="noopener noreferrer" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/306/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;The &lt;a href="https://forum.appian.com/suite/help/latest/Data_Maintenance.html#appian-engine-files" rel="noopener noreferrer" target="_blank"&gt;cleanup script&lt;/a&gt;&amp;nbsp;can be used to manage engine files (&lt;strong&gt;*.kdb&lt;/strong&gt;) and archived processes. KDB files should not be modified manually. &amp;nbsp;&lt;/p&gt;
&lt;h3 id="data"&gt;Documents&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: November 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in on-premise Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/7</link><pubDate>Mon, 14 Oct 2019 23:03:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Parmida Borhani on 10/14/2019 11:03:15 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Application log files described in the &lt;a href="https://docs.appian.com/suite/help/latest/Logging.html#overview" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt;&amp;nbsp;can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically by scheduling a job. If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&amp;nbsp;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;Do not touch files within&amp;nbsp;the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs&lt;/code&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;directory. For steps on dealing with Kafka logs, see below.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3&gt;Kafka Logs&lt;/h3&gt;
&lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" rel="noopener noreferrer" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/306/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;Engine data base files of type &lt;code&gt;*.kdb&lt;/code&gt;, log files within &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/&lt;/code&gt; and archived processes can be managed through the &lt;a href="https://forum.appian.com/suite/help/16.2/Data_Maintenance.html"&gt;cleanup script&lt;/a&gt; provided as part of the base product.&lt;/p&gt;
&lt;h3 id="data"&gt;Documents&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: October 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in on-premise Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/6</link><pubDate>Mon, 14 Oct 2019 23:02:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Parmida Borhani on 10/14/2019 11:02:38 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Application log files described in the &lt;a href="https://docs.appian.com/suite/help/latest/Logging.html#overview" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt;&amp;nbsp;can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically by scheduling a job. If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&amp;nbsp;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;Do not touch files within&amp;nbsp;the&amp;nbsp;&lt;/span&gt;&lt;tt&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs&lt;/tt&gt;&lt;span&gt;&amp;nbsp;directory. For steps on dealing with Kafka logs, see below.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3&gt;Kafka Logs&lt;/h3&gt;
&lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" rel="noopener noreferrer" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/306/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;Engine data base files of type &lt;code&gt;*.kdb&lt;/code&gt;, log files within &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/&lt;/code&gt; and archived processes can be managed through the &lt;a href="https://forum.appian.com/suite/help/16.2/Data_Maintenance.html"&gt;cleanup script&lt;/a&gt; provided as part of the base product.&lt;/p&gt;
&lt;h3 id="data"&gt;Documents&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: October 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in on-premise Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/5</link><pubDate>Mon, 14 Oct 2019 23:02:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Parmida Borhani on 10/14/2019 11:02:24 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Application log files described in the &lt;a href="https://docs.appian.com/suite/help/latest/Logging.html#overview" rel="noopener noreferrer" target="_blank"&gt;documentation&lt;/a&gt; &amp;nbsp;can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically by scheduling a job. If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&amp;nbsp;&lt;b&gt;Note:&lt;/b&gt;&lt;span&gt;&amp;nbsp;Do not touch files within&amp;nbsp;the&amp;nbsp;&lt;/span&gt;&lt;tt&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/data/kafka-logs&lt;/tt&gt;&lt;span&gt;&amp;nbsp;directory. For steps on dealing with Kafka logs, see below.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3&gt;Kafka Logs&lt;/h3&gt;
&lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" rel="noopener noreferrer" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/306/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;Engine data base files of type &lt;code&gt;*.kdb&lt;/code&gt;, log files within &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/&lt;/code&gt; and archived processes can be managed through the &lt;a href="https://forum.appian.com/suite/help/16.2/Data_Maintenance.html"&gt;cleanup script&lt;/a&gt; provided as part of the base product.&lt;/p&gt;
&lt;h3 id="data"&gt;Documents&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: October 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in on-premise Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/4</link><pubDate>Mon, 14 Oct 2019 05:15:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Parmida Borhani on 10/14/2019 5:15:18 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Log files can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically by scheduling a job.&lt;/p&gt;
&lt;p&gt;If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3&gt;Kafka Logs&lt;/h3&gt;
&lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" rel="noopener noreferrer" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/306/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;Engine data base files of type &lt;code&gt;*.kdb&lt;/code&gt;, log files within &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/logs/&lt;/code&gt; and archived processes can be managed through the &lt;a href="https://forum.appian.com/suite/help/16.2/Data_Maintenance.html"&gt;cleanup script&lt;/a&gt; provided as part of the base product.&lt;/p&gt;
&lt;p&gt;Additionally, log files and archived processes may be compressed to save space.&lt;/p&gt;
&lt;h3 id="data"&gt;Documents&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: October 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in on-premise Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/3</link><pubDate>Wed, 17 Jan 2018 22:59:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Parmida Borhani on 1/17/2018 10:59:02 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Log files can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically by scheduling a job.&lt;/p&gt;
&lt;p&gt;If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&lt;/p&gt;
&lt;p&gt;If the Kafka transaction logs are using large amounts of disk space, refer to &lt;a href="/support/w/kb/780/kb-1455-kafka-logs-using-high-amounts-of-disk-space" target="_blank"&gt;KB-1455&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/306/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;Engine data base files of type &lt;code&gt;*.kdb&lt;/code&gt;, log files within &lt;code&gt;&amp;lt;APPIAN&amp;gt;/logs/&lt;/code&gt; and archived processes can be managed through the &lt;a href="https://forum.appian.com/suite/help/16.2/Data_Maintenance.html"&gt;cleanup script&lt;/a&gt; provided as part of the base product.&lt;/p&gt;
&lt;p&gt;Additionally, log files and archived processes may be compressed to save space.&lt;/p&gt;
&lt;h3 id="data"&gt;Data&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;January 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, how-to, disk usage&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in on-premise Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/1</link><pubDate>Tue, 07 Mar 2017 14:45:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 3/7/2017 2:45:07 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Log files can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically by scheduling a job.&lt;/p&gt;
&lt;p&gt;If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="https://docs.appian.com/suite/help/17.1/kb/kb-1082.html#action"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;Engine data base files of type &lt;code&gt;*.kdb&lt;/code&gt;, log files within &lt;code&gt;&amp;lt;APPIAN&amp;gt;/logs/&lt;/code&gt; and archived processes can be managed through the &lt;a href="https://forum.appian.com/suite/help/16.2/Data_Maintenance.html"&gt;cleanup script&lt;/a&gt; provided as part of the base product.&lt;/p&gt;
&lt;p&gt;Additionally, log files and archived processes may be compressed to save space.&lt;/p&gt;
&lt;h3 id="data"&gt;Data&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://forum.appian.com/suite/help/16.2/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: September 2016&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, how-to&lt;/div&gt;
</description></item><item><title>KB-1255 How to address high disk usage in on-premise Appian environments</title><link>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments/revision/2</link><pubDate>Tue, 07 Mar 2017 09:46:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd10eca0-6c01-43a0-8c21-3591d8fc2968</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/469/kb-1255-how-to-address-high-disk-usage-in-self-managed-appian-environments#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Nick Vigilante on 3/7/2017 9:46:31 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;p&gt;This article details corrective actions to be taken in situations where an Appian environment is running low on disk space. In addition, some ideas to optimize disk usage and prevent potential issues caused due to insufficient disk space are presented.&lt;/p&gt;
&lt;h2 id="managing-high-disk-usage"&gt;Managing high disk usage&lt;/h2&gt;
&lt;p&gt;The standard approach when addressing high disk usage is isolating the particular objects (files or folders) that are consuming the most space and then following the appropriate steps to either clean up or relocate them. A third option of adding additional capacity to existing disks may also be considered if sufficient space cannot be reclaimed from cleanup or relocation activities.&lt;/p&gt;
&lt;p&gt;Review the current disk usage metrics using the &lt;strong&gt;File Explorer&lt;/strong&gt; (Windows) or running &lt;code&gt;df -h&lt;/code&gt; (UNIX). Once the top disk/partition is identified, review the contents and their individual usage within. For example, running &lt;code&gt;du -h --max-depth=1&lt;/code&gt; in UNIX or &lt;a href="https://windirstat.net/"&gt;WindirStat&lt;/a&gt; on Windows can display the usage per file or subfolder within a particular folder. Repeat the process until the top consumers have been identified.&lt;/p&gt;
&lt;p&gt;The following sections detail the appropriate cleanup steps for each component of the Appian environment&lt;/p&gt;
&lt;h3 id="application-server"&gt;Application Server&lt;/h3&gt;
&lt;p&gt;For application servers the objects that typically grow and need to be cleaned up are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log files&lt;/li&gt;
&lt;li&gt;Application server cache&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Log files can be compressed or moved to another location to save disk space. Old log files can also be cleaned up periodically by scheduling a job.&lt;/p&gt;
&lt;p&gt;If log files are observed to be growing at a faster than normal rate, this may be due to enabling DEBUG for one or more classes. Check for DEBUG messages in the log files and make sure to disable any loggers that are not needed.&lt;/p&gt;
&lt;p&gt;Appian Technical Support may also be able to assist in identifying possible causes for excessive growth in log file size.&lt;/p&gt;
&lt;h3 id="search-server"&gt;Search Server&lt;/h3&gt;
&lt;p&gt;The search server index data stored in &lt;code&gt;&amp;lt;APPIAN&amp;gt;/_admin/search_local/&lt;/code&gt; can be cleared if required to release some disk space, following the steps in &lt;a href="/support/w/kb/306/kb-1082-issues-related-to-search-server-indices"&gt;KB-1082&lt;/a&gt;. In addition, the search server log files stored in &lt;code&gt;&amp;lt;APPIAN&amp;gt;/logs/search-server/&lt;/code&gt; can also be periodically deleted.&lt;/p&gt;
&lt;h3 id="engines"&gt;Engines&lt;/h3&gt;
&lt;p&gt;Engine data base files of type &lt;code&gt;*.kdb&lt;/code&gt;, log files within &lt;code&gt;&amp;lt;APPIAN&amp;gt;/logs/&lt;/code&gt; and archived processes can be managed through the &lt;a href="https://forum.appian.com/suite/help/16.2/Data_Maintenance.html"&gt;cleanup script&lt;/a&gt; provided as part of the base product.&lt;/p&gt;
&lt;p&gt;Additionally, log files and archived processes may be compressed to save space.&lt;/p&gt;
&lt;h3 id="data"&gt;Data&lt;/h3&gt;
&lt;p&gt;Business data such as files and folders within Appian&amp;rsquo;s document management are also stored as physical files on disk within the &lt;code&gt;&amp;lt;APPIAN&amp;gt;/_admin/accdocs*/&lt;/code&gt; directories. By following the steps below, It is possible to pinpoint the exact Knowledge Center in Appian that is consuming the most disk space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN&amp;gt;/_admin/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Execute &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat and navigate into the particular accdocs folder that records the most disk usage.&lt;/li&gt;
&lt;li&gt;The folder names correspond to Appian knowledge centers. With this in mind, run &lt;code&gt;du -h --max-depth=1&lt;/code&gt; or use WinDirStat within the accdocs folder to see top knowledge centres by disk usage and note the name/number of the folder&lt;/li&gt;
&lt;li&gt;Login to Appian and navigate to &lt;code&gt;/suite/kc/&amp;lt;FOLDER_NUMBER&amp;gt;&lt;/code&gt;. This allows you to browse the top consumers by name and make it easier to review and cleanup unwanted documents or folders.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; For System Knowledge Centers except for the Temporary Documents Knowledge Center, contact Appian Technical Support to coordinate the necessary cleanup operations.&lt;/p&gt;
&lt;p&gt;Alternately, this command can be used in UNIX to know from the OS level who the top 10 consumers are within a particular folder:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;find -type f -exec du -Sh {} + | sort -rh | head -n 10
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This returns the internal names for each content object, which can be passed as an argument into &lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjehE6c4co9Y9YmYyXyje4cU5tvLsZq51/view/summary"&gt;getContentDetailsByInternalName()&lt;/a&gt; to get more information.&lt;/p&gt;
&lt;h2 id="recommendations-to-optimize-disk-usage"&gt;Recommendations to optimize Disk usage&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Perform regular &lt;a href="https://docs.appian.com/suite/help/latest/Data_Maintenance.html"&gt;Data Maintenance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set file upload and Knowledge centre limits such as &lt;code&gt;conf.content.max.temporary.uploaded.files.age&lt;/code&gt;, &lt;code&gt;resources.appian.ac.collaboration.MAX_UPLOAD_FILE_SIZE&lt;/code&gt;, or &lt;code&gt;server.conf.collaboration.DEFAULTSPACE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: September 2016&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, how-to&lt;/div&gt;
</description></item></channel></rss>