<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Sense Enterprise on Windows: PostgresSQL consuming 100% of CPU in two-hourly intervals in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-PostgresSQL-consuming-100-of/ta-p/2429584</link>
    <description>&lt;P&gt;The PostgreSQL instance used by Qlik Sense (on-premise) uses 100% of CPU capacity. This behavior can be seen in an interval of 2 hours.&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Cause&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;The &lt;STRONG&gt;&lt;FONT color="#339966"&gt;Resource Distribution Service&lt;/FONT&gt;&lt;/STRONG&gt; is set to run a 2-hourly scan on all extensions and themes as part of a sync to Qlik Sense Cloud. This has proven to have a dramatic effect in very large environments where postgres.exe is causing the CPU to spike to 100% for an extended duration, making the environment unusable.&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Switch off&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Resource Distribution&lt;/FONT&gt;&amp;nbsp;&lt;/STRONG&gt;or set it to run every 24 hours.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Switch off Resource Distribution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Open the &lt;STRONG&gt;services.conf&lt;/STRONG&gt; file (default:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\Program Files\Qlik\Sense\ServiceDispatcher\services.conf&lt;/FONT&gt;) in a text editor elevated to&amp;nbsp;&lt;STRONG&gt;Administrator&lt;/STRONG&gt; permissions&lt;/LI&gt;
&lt;LI&gt;Locate the&amp;nbsp;&lt;STRONG&gt;[resource-distribution]&amp;nbsp;&lt;/STRONG&gt;section.&lt;/LI&gt;
&lt;LI&gt;Set&amp;nbsp;&lt;STRONG&gt;Disabled&amp;nbsp;&lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;true&lt;/STRONG&gt;:&lt;BR /&gt;
&lt;PRE class="ckeditor_codeblock" data-aura-rendered-by="243:1197;a"&gt;[resource-distribution]
Disabled=&lt;STRONG&gt;true&lt;/STRONG&gt;
Identity=Qlik.resource-distribution
DisplayName=Resource Distribution
ExePath=Node\node.exe
Script=..\ResourceDistributionService\server.js&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Save the file&lt;/LI&gt;
&lt;LI&gt;Restart the Service Dispatcher&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Schedule it to run every 24 hours&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Open the &lt;STRONG&gt;services.conf&lt;/STRONG&gt; file (default:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\Program Files\Qlik\Sense\ServiceDispatcher\services.conf&lt;/FONT&gt;) in a text editor elevated to&amp;nbsp;&lt;STRONG&gt;Administrator&lt;/STRONG&gt; permissions&lt;/LI&gt;
&lt;LI&gt;Locate the&amp;nbsp;&lt;STRONG&gt;[resource-distribution]&amp;nbsp;&lt;/STRONG&gt;section.&lt;/LI&gt;
&lt;LI&gt;Set&amp;nbsp;&lt;STRONG&gt;Disabled&amp;nbsp;&lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;false &lt;/STRONG&gt;as //Disabled=true:&lt;BR /&gt;
&lt;PRE class="ckeditor_codeblock" data-aura-rendered-by="243:1197;a"&gt;[resource-distribution]
//Disabled=&lt;STRONG&gt;true&lt;/STRONG&gt;
Identity=Qlik.resource-distribution
DisplayName=Resource Distribution
ExePath=Node\node.exe
Script=..\ResourceDistributionService\server.js

[resource-distribution.parameters]
--secure
--wes-port=${WESPort}
--mode=server
--log-path=${LogPath}
--log-level=info
&lt;STRONG&gt;--interval-time=86400000&lt;/STRONG&gt;
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Save the file&lt;/LI&gt;
&lt;LI&gt;Restart the Service Dispatcher&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Internal Investigation ID(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;QB-18723&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;(November 2022 and later)&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2024 15:36:48 GMT</pubDate>
    <dc:creator>JanJorissen</dc:creator>
    <dc:date>2024-03-15T15:36:48Z</dc:date>
    <item>
      <title>Qlik Sense Enterprise on Windows: PostgresSQL consuming 100% of CPU in two-hourly intervals</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-PostgresSQL-consuming-100-of/ta-p/2429584</link>
      <description>&lt;P&gt;The PostgreSQL instance used by Qlik Sense (on-premise) uses 100% of CPU capacity. This behavior can be seen in an interval of 2 hours.&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Cause&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;The &lt;STRONG&gt;&lt;FONT color="#339966"&gt;Resource Distribution Service&lt;/FONT&gt;&lt;/STRONG&gt; is set to run a 2-hourly scan on all extensions and themes as part of a sync to Qlik Sense Cloud. This has proven to have a dramatic effect in very large environments where postgres.exe is causing the CPU to spike to 100% for an extended duration, making the environment unusable.&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Switch off&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Resource Distribution&lt;/FONT&gt;&amp;nbsp;&lt;/STRONG&gt;or set it to run every 24 hours.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Switch off Resource Distribution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Open the &lt;STRONG&gt;services.conf&lt;/STRONG&gt; file (default:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\Program Files\Qlik\Sense\ServiceDispatcher\services.conf&lt;/FONT&gt;) in a text editor elevated to&amp;nbsp;&lt;STRONG&gt;Administrator&lt;/STRONG&gt; permissions&lt;/LI&gt;
&lt;LI&gt;Locate the&amp;nbsp;&lt;STRONG&gt;[resource-distribution]&amp;nbsp;&lt;/STRONG&gt;section.&lt;/LI&gt;
&lt;LI&gt;Set&amp;nbsp;&lt;STRONG&gt;Disabled&amp;nbsp;&lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;true&lt;/STRONG&gt;:&lt;BR /&gt;
&lt;PRE class="ckeditor_codeblock" data-aura-rendered-by="243:1197;a"&gt;[resource-distribution]
Disabled=&lt;STRONG&gt;true&lt;/STRONG&gt;
Identity=Qlik.resource-distribution
DisplayName=Resource Distribution
ExePath=Node\node.exe
Script=..\ResourceDistributionService\server.js&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Save the file&lt;/LI&gt;
&lt;LI&gt;Restart the Service Dispatcher&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Schedule it to run every 24 hours&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Open the &lt;STRONG&gt;services.conf&lt;/STRONG&gt; file (default:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\Program Files\Qlik\Sense\ServiceDispatcher\services.conf&lt;/FONT&gt;) in a text editor elevated to&amp;nbsp;&lt;STRONG&gt;Administrator&lt;/STRONG&gt; permissions&lt;/LI&gt;
&lt;LI&gt;Locate the&amp;nbsp;&lt;STRONG&gt;[resource-distribution]&amp;nbsp;&lt;/STRONG&gt;section.&lt;/LI&gt;
&lt;LI&gt;Set&amp;nbsp;&lt;STRONG&gt;Disabled&amp;nbsp;&lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;false &lt;/STRONG&gt;as //Disabled=true:&lt;BR /&gt;
&lt;PRE class="ckeditor_codeblock" data-aura-rendered-by="243:1197;a"&gt;[resource-distribution]
//Disabled=&lt;STRONG&gt;true&lt;/STRONG&gt;
Identity=Qlik.resource-distribution
DisplayName=Resource Distribution
ExePath=Node\node.exe
Script=..\ResourceDistributionService\server.js

[resource-distribution.parameters]
--secure
--wes-port=${WESPort}
--mode=server
--log-path=${LogPath}
--log-level=info
&lt;STRONG&gt;--interval-time=86400000&lt;/STRONG&gt;
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Save the file&lt;/LI&gt;
&lt;LI&gt;Restart the Service Dispatcher&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Internal Investigation ID(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;QB-18723&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;(November 2022 and later)&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 15:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-PostgresSQL-consuming-100-of/ta-p/2429584</guid>
      <dc:creator>JanJorissen</dc:creator>
      <dc:date>2024-03-15T15:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Enterprise on Windows: PostgresSQL consuming 100% of CPU in two-hourly intervals</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-PostgresSQL-consuming-100-of/tac-p/2429602#M13477</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/61724"&gt;@JanJorissen&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Which QSEoW versions are impacted by this issue ?&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;George&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 07:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-PostgresSQL-consuming-100-of/tac-p/2429602#M13477</guid>
      <dc:creator>GeorgeSavu</dc:creator>
      <dc:date>2024-03-12T07:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Enterprise on Windows: PostgresSQL consuming 100% of CPU in two-hourly intervals</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-PostgresSQL-consuming-100-of/tac-p/2429606#M13478</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/161519"&gt;@GeorgeSavu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Qlik Sense November 2022 and later have introduced this setting. I've added the information to the article, thank you for reaching out!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 07:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-PostgresSQL-consuming-100-of/tac-p/2429606#M13478</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2024-03-12T07:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Enterprise on Windows: PostgresSQL consuming 100% of CPU in two-hourly intervals</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-PostgresSQL-consuming-100-of/tac-p/2519376#M15863</link>
      <description>&lt;P&gt;We seen this in Qlik Sense November 2024 version&lt;BR /&gt;recently upgraded the PostgreSQL patch from 14.2 to 14.17 on the server and the issue started&lt;BR /&gt;CPU reaching 100% every 2 hours.&lt;/P&gt;&lt;P&gt;applied this changes&lt;/P&gt;&lt;P&gt;[resource-distribution]&lt;BR /&gt;Disabled=true&lt;BR /&gt;Identity=Qlik.resource-distribution&lt;BR /&gt;DisplayName=Resource Distribution&lt;BR /&gt;ExePath=Node\node.exe&lt;BR /&gt;Script=..\ResourceDistributionService\server.js&lt;/P&gt;&lt;P&gt;Before the Fix:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="skumar_0-1748454242222.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180877i2E43490947028835/image-size/medium?v=v2&amp;amp;px=400" role="button" title="skumar_0-1748454242222.png" alt="skumar_0-1748454242222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the fix:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="skumar_1-1748454287305.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180878i15DDD3F0F2059640/image-size/medium?v=v2&amp;amp;px=400" role="button" title="skumar_1-1748454287305.png" alt="skumar_1-1748454287305.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 17:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Enterprise-on-Windows-PostgresSQL-consuming-100-of/tac-p/2519376#M15863</guid>
      <dc:creator>skumar</dc:creator>
      <dc:date>2025-05-28T17:45:47Z</dc:date>
    </item>
  </channel>
</rss>

