<?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 QlikView Distribution Service / Publisher (QDS) high CPU usage without active tasks in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribution-Service-Publisher-QDS-high-CPU-usage/ta-p/1714555</link>
    <description>&lt;P&gt;The QlikView Distribution Service (QDS) is consuming a high percentage of overall CPU capacity. &amp;nbsp;No tasks are actively running.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;High Memory Handles in task manager for Qlikview Distribution Service are observed.&lt;/SPAN&gt;&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;DIV style="margin-left: 40px;"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All tasks will be checked no matter if they are enabled or disabled every 500ms in general, the auto adjustment option is not working good when a large number of tasks are disabled or not properly setup.&lt;BR /&gt;&lt;BR /&gt;Risks for high cpu usage are caused by:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;large number of disabled tasks,&lt;/LI&gt;
&lt;LI&gt;enabled tasks but no source document connected to it.&lt;/LI&gt;
&lt;LI&gt;a fresh QVPR restore, but unfinished setup&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;Task files need to be updated regularly. It is possible to adjust the number of tasks updated per thread.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop the &lt;STRONG&gt;QlikView Distribution Service&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Navigate to &lt;FONT face="courier new,courier"&gt;C:\Program Files\QlikView\Distribution Service\DistributionService.exe.config&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Open the file in a text editor &lt;STRONG&gt;with elevated permissions&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Option 1:&lt;/STRONG&gt; Locate the below setting, or add it: &lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;!-- Time to pause between task result cache updates, in milliseconds. --&amp;gt;
&amp;lt;add key="TaskResultCacheUpdateSleepTimeBetweenUpdates" value="200"/&amp;gt;​&lt;/LI-CODE&gt;&lt;BR /&gt;Change the value to 1000, which is 1 sec, do not use a higher value than that.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Option 2&lt;/STRONG&gt; (if the first one does not show results):&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;!-- Max number of tasks per thread updating the task result cache. Value less than one (1) enabled automatic calibration. --&amp;gt;
&amp;lt;add key="TaskResultCacheUpdateMaxTasksPerThread" value="0"/&amp;gt;​&lt;/LI-CODE&gt;&lt;BR /&gt;Raise the value to lower the baseline QDS CPU consumption.&amp;nbsp; A starting value can be a slightly higher number than the total number of tasks in the deployment.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Save&lt;/STRONG&gt; the file&lt;/LI&gt;
&lt;LI&gt;Start the &lt;STRONG&gt;QlikView Distribution Service&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Wed, 08 Dec 2021 11:58:57 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2021-12-08T11:58:57Z</dc:date>
    <item>
      <title>QlikView Distribution Service / Publisher (QDS) high CPU usage without active tasks</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribution-Service-Publisher-QDS-high-CPU-usage/ta-p/1714555</link>
      <description>&lt;P&gt;The QlikView Distribution Service (QDS) is consuming a high percentage of overall CPU capacity. &amp;nbsp;No tasks are actively running.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;High Memory Handles in task manager for Qlikview Distribution Service are observed.&lt;/SPAN&gt;&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;DIV style="margin-left: 40px;"&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All tasks will be checked no matter if they are enabled or disabled every 500ms in general, the auto adjustment option is not working good when a large number of tasks are disabled or not properly setup.&lt;BR /&gt;&lt;BR /&gt;Risks for high cpu usage are caused by:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;large number of disabled tasks,&lt;/LI&gt;
&lt;LI&gt;enabled tasks but no source document connected to it.&lt;/LI&gt;
&lt;LI&gt;a fresh QVPR restore, but unfinished setup&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;Task files need to be updated regularly. It is possible to adjust the number of tasks updated per thread.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop the &lt;STRONG&gt;QlikView Distribution Service&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Navigate to &lt;FONT face="courier new,courier"&gt;C:\Program Files\QlikView\Distribution Service\DistributionService.exe.config&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Open the file in a text editor &lt;STRONG&gt;with elevated permissions&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Option 1:&lt;/STRONG&gt; Locate the below setting, or add it: &lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;!-- Time to pause between task result cache updates, in milliseconds. --&amp;gt;
&amp;lt;add key="TaskResultCacheUpdateSleepTimeBetweenUpdates" value="200"/&amp;gt;​&lt;/LI-CODE&gt;&lt;BR /&gt;Change the value to 1000, which is 1 sec, do not use a higher value than that.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Option 2&lt;/STRONG&gt; (if the first one does not show results):&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;!-- Max number of tasks per thread updating the task result cache. Value less than one (1) enabled automatic calibration. --&amp;gt;
&amp;lt;add key="TaskResultCacheUpdateMaxTasksPerThread" value="0"/&amp;gt;​&lt;/LI-CODE&gt;&lt;BR /&gt;Raise the value to lower the baseline QDS CPU consumption.&amp;nbsp; A starting value can be a slightly higher number than the total number of tasks in the deployment.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Save&lt;/STRONG&gt; the file&lt;/LI&gt;
&lt;LI&gt;Start the &lt;STRONG&gt;QlikView Distribution Service&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 08 Dec 2021 11:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribution-Service-Publisher-QDS-high-CPU-usage/ta-p/1714555</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2021-12-08T11:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Distribution Service / Publisher (QDS) high CPU usage without active tasks</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribution-Service-Publisher-QDS-high-CPU-usage/tac-p/1996876#M7611</link>
      <description>&lt;P&gt;What happens if I lower the value of TaskResultCacheUpdateSleepTimeBetweenUpdates from 200?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 05:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/QlikView-Distribution-Service-Publisher-QDS-high-CPU-usage/tac-p/1996876#M7611</guid>
      <dc:creator>qwebnm</dc:creator>
      <dc:date>2022-10-26T05:37:13Z</dc:date>
    </item>
  </channel>
</rss>

