<?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-2283 How to run the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2283 How to run the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script</link><pubDate>Mon, 18 Dec 2023 23:45:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Maggie Deppe-Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Current Revision posted to Appian Knowledge Base by Maggie Deppe-Walker on 12/18/2023 11:45:57 PM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation.&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;The numbers shown&amp;nbsp;in the bottom lines of the&amp;nbsp;output of the command correspond to the engine gateways (the number of lines varies based on the number of execution engines in your environment)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyze the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are three example use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarizes&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process size summary for instances of a given process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating excessively large process instances after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When the script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: December 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>KB-2283 How to run the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/70</link><pubDate>Mon, 18 Dec 2023 17:35:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 70 posted to Appian Knowledge Base by pauline.delacruz on 12/18/2023 5:35:46 PM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation.&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyze the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are three example use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarizes&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process size summary for instances of a given process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating excessively large process instances after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When the script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: December 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/69</link><pubDate>Mon, 18 Dec 2023 17:08:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 69 posted to Appian Knowledge Base by pauline.delacruz on 12/18/2023 5:08:25 PM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation.&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyze the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are three example use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarizes&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process size summary for instances of a given process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating excessively large process instances after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When the script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: December 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/68</link><pubDate>Wed, 06 Dec 2023 15:18:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>pauline.delacruz</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 68 posted to Appian Knowledge Base by pauline.delacruz on 12/6/2023 3:18:24 PM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyze the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;3&amp;nbsp;example use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarizes&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process size summary for instances of a given process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating excessively large process instances after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When the script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: December 2023&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/67</link><pubDate>Wed, 06 Dec 2023 07:12:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 67 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 7:12:14 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;3&amp;nbsp;example use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process size summary for instances of a given process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating excessively large process instances after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When the script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/66</link><pubDate>Wed, 06 Dec 2023 07:11:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 66 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 7:11:19 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;3&amp;nbsp;example use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process size summary for instances of a given process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When the script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/65</link><pubDate>Wed, 06 Dec 2023 07:10:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 65 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 7:10:18 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process size summary for instances of a given process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When the script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/64</link><pubDate>Wed, 06 Dec 2023 07:09:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 64 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 7:09:47 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process size summary for instances of a given process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/63</link><pubDate>Wed, 06 Dec 2023 07:07:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 63 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 7:07:31 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/62</link><pubDate>Wed, 06 Dec 2023 07:06:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 62 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 7:06:41 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/latest/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;/strong&gt;Pay close attention to your syntax when using this script. Extra hyphens or misspellings may cause a&amp;nbsp;&lt;a href="https://code.kx.com/q/basics/errors/"&gt;kdb+ error&lt;/a&gt;&amp;nbsp;to appear when running sizing.sh (.bat). ffff&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/61</link><pubDate>Wed, 06 Dec 2023 07:05:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 61 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 7:05:47 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;/strong&gt;Pay close attention to your syntax when using this script. Extra hyphens or misspellings may cause a&amp;nbsp;&lt;a href="https://code.kx.com/q/basics/errors/"&gt;kdb+ error&lt;/a&gt;&amp;nbsp;to appear when running sizing.sh (.bat). ffff&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/60</link><pubDate>Wed, 06 Dec 2023 07:05:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 60 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 7:05:16 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;div class="table-of-contents"&gt;
&lt;h2&gt;Table of Contents&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1hgcghiom0"&gt;Purpose&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1hgcghion1"&gt;Instructions&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#mcetoc_1hgcghion3"&gt;Affected Versions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;/strong&gt;Pay close attention to your syntax when using this script. Extra hyphens or misspellings may cause a&amp;nbsp;&lt;a href="https://code.kx.com/q/basics/errors/"&gt;kdb+ error&lt;/a&gt;&amp;nbsp;to appear when running sizing.sh (.bat). ffff&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/59</link><pubDate>Wed, 06 Dec 2023 06:52:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 59 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 6:52:57 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:
&lt;pre&gt;An error occurred:&lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;/strong&gt;Pay close attention to your syntax when using this script. Extra hyphens or misspellings may cause a&amp;nbsp;&lt;a href="https://code.kx.com/q/basics/errors/"&gt;kdb+ error&lt;/a&gt;&amp;nbsp;to appear when running sizing.sh (.bat). ffff&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/58</link><pubDate>Wed, 06 Dec 2023 06:42:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 58 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 6:42:47 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;An error occured: &lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.  &lt;/b&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;/strong&gt;Pay close attention to your syntax when using this script. Extra hyphens or misspellings may cause a&amp;nbsp;&lt;a href="https://code.kx.com/q/basics/errors/"&gt;kdb+ error&lt;/a&gt;&amp;nbsp;to appear when running sizing.sh (.bat).&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/57</link><pubDate>Wed, 06 Dec 2023 06:41:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 57 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 6:41:58 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;An error occured: &lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.  &lt;/b&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;/strong&gt;Pay close attention to your syntax when using this script. Extra hyphens or misspellings may cause a&amp;nbsp;&lt;a href="https://code.kx.com/q/basics/errors/"&gt;kdb+ error&lt;/a&gt;&amp;nbsp;to appear when running sizing.sh (.bat).&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/56</link><pubDate>Wed, 06 Dec 2023 06:40:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 56 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 6:40:59 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When script&amp;nbsp;is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;An error occured: &lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.  &lt;/b&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;/strong&gt;Pay close attention to your syntax when using this script. Extra hyphens or misspellings may cause a&amp;nbsp;&lt;a href="https://code.kx.com/q/basics/errors/"&gt;kdb+ error&lt;/a&gt;&amp;nbsp;to appear when running sizing.sh (.bat).&amp;nbsp;Always check that your syntax is correct before reaching out to Appian Support.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/55</link><pubDate>Wed, 06 Dec 2023 06:38:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 55 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 6:38:17 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;strong&gt;Points to consider&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When sizing is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;An error occured: &lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.  &lt;/b&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/54</link><pubDate>Wed, 06 Dec 2023 06:37:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 54 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 6:37:13 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Windows&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;&lt;code&gt;&lt;/code&gt;3. Points to consider&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When sizing is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;An error occured: &lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.  &lt;/b&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/53</link><pubDate>Wed, 06 Dec 2023 06:35:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 53 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 6:35:52 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;h4&gt;&lt;span style="font-family:inherit;"&gt;&lt;strong&gt;Windows&lt;/strong&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;&lt;code&gt;&lt;/code&gt;3. Points to consider&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When sizing is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;An error occured: &lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.  &lt;/b&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/52</link><pubDate>Wed, 06 Dec 2023 06:35:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 52 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 6:35:24 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;h4&gt;&lt;span style="font-family:inherit;"&gt;&lt;strong&gt;Windows&lt;/strong&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;h2&gt;&lt;code&gt;&lt;/code&gt;Points to consider&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When sizing is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;An error occured: &lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.  &lt;/b&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: How To, engines, how-to, scripts&lt;/div&gt;
</description></item><item><title>[DRAFT SP-9343] KB-XXXX A guide to running the Sizing Script</title><link>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script/revision/51</link><pubDate>Wed, 06 Dec 2023 06:34:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03f51495-78ba-46e3-86e0-b4efa01584e1</guid><dc:creator>Adam Walker</dc:creator><comments>https://community.appian.com/support/w/kb/3420/kb-2283-how-to-run-the-sizing-script#comments</comments><description>Revision 51 posted to Appian Knowledge Base by Adam Walker on 12/6/2023 6:34:49 AM&lt;br /&gt;
&lt;h2 id="mcetoc_1hgcghiom0"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Appian Technical Support may request a report generated by the&amp;nbsp;&lt;/span&gt;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;Sizing Script&lt;/a&gt;&lt;span&gt;&amp;nbsp;to investigate issues with the Process Execution&amp;nbsp;engines. This guide provides steps to enable users to&amp;nbsp;generate reports with meaningful data. s&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="mcetoc_1hgcghion1"&gt;Instructions&lt;/h2&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;1. Identify&amp;nbsp;port usage&lt;/h3&gt;
&lt;h4&gt;&lt;span style="font-family:inherit;"&gt;&lt;strong&gt;Windows&lt;/strong&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Open up command prompt (cmd.exe) with the appropriate privileges for your Appian installation&lt;/li&gt;
&lt;li&gt;Navigate to the logs directory:&lt;br /&gt;&lt;code&gt;cd &amp;lt;APPIAN_HOME&amp;gt;/logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the following command to identify the port used by each execution engine gateway:&lt;br /&gt;&lt;code&gt;findstr /I /c:&amp;quot;opened gateway&amp;quot; service_manager.log | findstr &amp;quot;execution&amp;quot;&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Note the port numbers shown&amp;nbsp;in the bottom 3 lines (or however many lines correspond to the number of execution engines on your environment)&amp;nbsp;of the&amp;nbsp;output of the command&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Port_Usage.html#internal-ports"&gt;Add 1 to each port number&lt;/a&gt; to identify the port used by each process execution engine database&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;&lt;strong&gt;Linux&lt;/strong&gt;&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Run the following command from a Linux terminal:&amp;nbsp;&lt;br /&gt;&lt;code&gt;ps aux | grep &amp;quot;/[a]db pe&amp;quot; | awk &amp;#39;{printf(&amp;quot;%-1s %-1s\n&amp;quot;,&amp;quot;Execution Engine: &amp;quot;$22,&amp;quot; |&amp;nbsp; Port: &amp;quot;$16) }&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&lt;/code&gt;Analyse the output for the corresponding engine-port pairs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="mcetoc_1hgcghion2"&gt;2. Run the Sizing Script&lt;/h3&gt;
&lt;p&gt;To run the Sizing Script, follow the steps in the Appian&amp;nbsp;&lt;a title="Running the Sizing Script" href="https://docs.appian.com/suite/help/latest/Using_the_Sizing_Script.html#running-the-sizing-script"&gt;documentation&lt;/a&gt;. Below are&amp;nbsp;2 common use cases for&amp;nbsp;generating a sizing report.&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating&amp;nbsp; a summary report for a single execution engine&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report provides an overview of the size of process data&amp;nbsp;in a given execution engine. This is useful for quickly determining whether an engine is encountering problems due to excessive process sizing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) summary -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot;&amp;nbsp;-host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating a process model breakdown&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report summarises&amp;nbsp;the size of each process model in a given execution engine. This is useful for determining specific process models that are causing engine contention.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) processmodel -all -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Generating a&amp;nbsp;process-size summary for instances of a specified process model&amp;nbsp;&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This report is useful for isolating individual process instances that are excessively large after identifying process models of concern with the &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;processmodel&lt;/span&gt; report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/server/_scripts/tools/sizing.sh(.bat) process -path &amp;quot;&amp;lt;Path to report&amp;gt;&amp;quot; -host &amp;lt;Engine hostname from appian-topology.xml&amp;gt; -port &amp;lt;Port from Step 1&amp;gt; -uuid &amp;lt;UUID(s) of large process model(s)&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;&lt;code&gt;&lt;/code&gt;3. Points to consider&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;When the Sizing Script is run on a port belonging to a non-execution engine, the generated report will be an empty CSV file. It will not throw any errors.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;When sizing is run on the port corresponding to&amp;nbsp;an engine gateway instead of the engine itself, it will throw the following message:&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;An error occured: &lt;br /&gt;close&lt;br /&gt;Run &amp;quot;sizing.sh help&amp;quot; to view help file.  &lt;/b&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="mcetoc_1hgcghion3"&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

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