<?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 Troubleshooting QlikView Server resource problems and crashes in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Troubleshooting-QlikView-Server-resource-problems-and-crashes/ta-p/1715551</link>
    <description>&lt;P&gt;In this article, we outline troubleshooting steps to identify QlikView Server Service problems related to resource issues and crashes. Examples are progressively higher RAM or CPU usage and engine crashes due to exceptions.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It also covers general guidelines on how to troubleshoot QlikView Server Service crashes.&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Symptoms:&lt;/STRONG&gt;&lt;/H5&gt;
&lt;UL&gt;
&lt;LI&gt;QlikView Server service RAM usage or CPU usage increases progressively until the system crashes&lt;/LI&gt;
&lt;LI&gt;Users are disconnected while working with documents in the Full Browser / AJAX client or Internet Explorer Plugin&lt;/LI&gt;
&lt;LI&gt;The AccessPoint displays No Server&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Before we can get started, we need to look at how QlikView (or our QIX engine in general) uses resources. Material for extended reading is available here:&amp;nbsp;&lt;U&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/QlikView-and-Qlik-Sense-resource-usage-and-the-Qlik-Associative/ta-p/1711045" target="_blank" rel="noopener"&gt;QlikView and Qlik Sense resource usage and the Qlik Associative Engine Memory Management and CPU Utilization&lt;/A&gt;&amp;nbsp;&lt;/U&gt;(including an excellent video summary that I really need to recommend).&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;But to summarize the videos: &lt;/STRONG&gt;&lt;/H5&gt;
&lt;UL&gt;
&lt;LI&gt;Increased memory usage / RAM usage up to the configured Working Set Limit&amp;nbsp;is expected. It should be a gradual, and over time, increase.&lt;/LI&gt;
&lt;LI&gt;An immediate problem can be identified if there is a sudden spike to the High Working Set Limit or beyond.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;If the QlikView Server Service is hosted in a virtual environment, resources need to be&amp;nbsp;dedicated.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So in order to troubleshoot resource issues and crashes, we need to first figure out if something is &lt;STRONG&gt;&lt;EM&gt;wrong&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;, &lt;/EM&gt;or if we are looking at the QlikView server having &lt;STRONG&gt;outgrown the currently available resource&lt;/STRONG&gt;. Since like anything else, as usage grows, demand grows and what we currently have available just isn’t enough anymore. A bit like a plant outgrowing its pot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But how do we identify an actual&amp;nbsp;&lt;STRONG&gt;problem&amp;nbsp;&lt;/STRONG&gt;vs an&amp;nbsp;&lt;STRONG&gt;expected&amp;nbsp;&lt;/STRONG&gt;behaviour?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;What is using the resources?&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;I know, I already blamed the engine from the get-go, but we do need to make sure we aren’t pointing fingers at the wrong culprit. So, if the host operating system is running out of resources, we first want to make 100% sure that it’s the &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;qvs.exe&lt;/STRONG&gt;&lt;/FONT&gt; that’s at fault. This can be determined either by monitoring the Windows Task Manager\Processes tab directly while the problem occurs or maybe it was previously identified by a resource monitoring tool, such as Windows Performance Monitor.&lt;/P&gt;
&lt;P&gt;If it turns out to be a &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;qvb.exe&lt;/STRONG&gt;&lt;/FONT&gt; (if the Distribution Service is on the same machine), then this got a little easier, since then it’s a reload that’s causing the problem. Troubleshooting this is, sadly, not covered in this post though. Maybe another time?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Identify if:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Memory usage increases gradually over time&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;and stays stable at or around the configured Low Working Set Limit.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This is expected behaviour.&lt;/P&gt;
&lt;P&gt;We can confirm what the Working Set is configured as in: QlikView Management Console&lt;FONT face="courier new,courier"&gt; &amp;gt; System &amp;gt; Setup &amp;gt; QlikView Servers &amp;gt; QVS@SERVER &amp;gt; Performance&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;So, it'll look a bit like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="graph yes okay.png" style="width: 407px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6759i928A495B4F85423F/image-size/large?v=v2&amp;amp;px=999" role="button" title="graph yes okay.png" alt="graph yes okay.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Memory usage increases gradually over time&lt;/FONT&gt;, is stable at or around the Low Working Set Limit or at the High Limit. Users are experiencing a negative performance impact.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This may indicate that the current setup needs to be reevaluated and that more resources need to be made available, or an additional QlikView Server node needs to be added to the environment. The below steps may still be applied to find possible problem documents or objects that could be optimized.&lt;/P&gt;
&lt;P&gt;May also look like the graph above.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Memory usage increases suddenly&lt;/FONT&gt; and leads to performance impact or QlikView Server Service crashes&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Boom. Unexpected behaviour.&lt;/P&gt;
&lt;P&gt;Often looks somewhat like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="graph yes not okay.png" style="width: 410px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6758i1BE50C2197D72836/image-size/large?v=v2&amp;amp;px=999" role="button" title="graph yes not okay.png" alt="graph yes not okay.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this example 1 document took up the majority of available RAM, while another was loaded in after, tipping the &lt;FONT face="courier new,courier"&gt;QVS.exe&lt;/FONT&gt; to 100% memory usage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Identifying the problem and root cause&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Next, we need to start analyzing a few specific log files, and for that, we need to first identify 3 things:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;when did the resource allocation problem start&lt;/STRONG&gt;,&lt;/LI&gt;
&lt;LI&gt;when it came to its&amp;nbsp;&lt;STRONG&gt;peak&lt;/STRONG&gt;,&lt;/LI&gt;
&lt;LI&gt;and&amp;nbsp;&lt;STRONG&gt;what actions&amp;nbsp;&lt;/STRONG&gt;were being carried out against the QlikView Server engine at that time.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The &lt;STRONG&gt;When &lt;/STRONG&gt;can be identified post mortem (after the fact) by looking at when issues were reported, and hopefully by catching errors and warnings logged in the QlikView Server Event logs.&amp;nbsp; But since we want to make sure we are prepared for the next time this happens, we usually recommend setting up &lt;STRONG&gt;Resource Monitoring.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Capture Resource Usage (Windows)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Configuring resource monitoring or performance monitoring in Windows to get an overview of the situation is always recommended. See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-set-up-performance-monitoring-for-QlikView-Server-Service/ta-p/1714026" target="_blank" rel="noopener"&gt;How to set up performance monitoring for QlikView Server Service(QVS) (perfmon)&lt;/A&gt;&amp;nbsp;for a simple example.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Review native QlikView log files&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This is where we roll our sleeves up and start digging.&lt;/P&gt;
&lt;P&gt;The QlikView Server Service has four log files that are crucial for identifying possible issues, and I will touch briefly on all of them. For more details on logs, check out this “&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/How-To-Collect-QlikView-Server-Log-Files/ta-p/1711801" target="_blank" rel="noopener"&gt;How to collect QlikView log files&lt;/A&gt;” article. &amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Some basics:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Default storage:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\ProgramData\QlikTech\QlikViewServer&lt;/FONT&gt; (you might have changed that, check the Management Console)&lt;/LI&gt;
&lt;LI&gt;Configurable in the QlikView Management Console &lt;FONT face="courier new,courier"&gt;&amp;gt; System &amp;gt; Setup &amp;gt; QlikView Servers &amp;gt; QVS@SERVER &amp;gt; Logging&lt;/FONT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Events_SERVER.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;This includes engine activity. How much we will be able to read depends on log verbosity.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;It will log, for example,&amp;nbsp;WorkingSet warnings. See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/What-does-quot-Warning-WorkingSet-Virtual-Memory-is-quot-mean/ta-p/1712673" target="_blank" rel="noopener"&gt;What does "Warning WorkingSet: Virtual Memory is . . . ." mean?&lt;/A&gt; This is what we’d expect if the qvs.exe itself is overloading the machine.&lt;/LI&gt;
&lt;LI&gt;It can give details on what documents are being loaded, what documents are being uploaded from the Distribution Service, or related actions to document activities.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;It will log exceptions and crashes&lt;/LI&gt;
&lt;LI&gt;For best results in finding the root cause of resource issues, set the &lt;FONT face="courier new,courier"&gt;Log Verbosity&lt;/FONT&gt; to&amp;nbsp;&lt;EM&gt;High&amp;nbsp;&lt;/EM&gt;and split&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Performance_SERVER.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Includes performance information for the QlikView Server Service&amp;nbsp;&lt;EM&gt;only.&amp;nbsp;&lt;/EM&gt;No other services or components will be logged.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Only logs every 5 minutes by default.&lt;/LI&gt;
&lt;LI&gt;Logs memory statistics in the following rows:&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;VMCommitted(MB)&amp;nbsp;&amp;nbsp; &amp;nbsp;VMAllocated(MB)&amp;nbsp;&amp;nbsp; &amp;nbsp;VMFree(MB)&amp;nbsp;&amp;nbsp; &amp;nbsp;VMLargestFreeBlock(MB)&lt;/PRE&gt;
&lt;P&gt;I like using this one to pinpoint crashes easily, as it will show when the service starts up. And a glance at the memory statistics can already help identifying how quickly we consumed it all. Generally, we like throwing this into a QlikView or Sense App and looking at pretty graphs.&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Audit_SERVER.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Logs user actions, such as the opening of documents, opening of sheets, bookmark selections, exports, etc.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Not enabled by default. To enable, follow&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-enable-Audit-Logging-in-QlikView/ta-p/1717013" target="_blank" rel="noopener"&gt;How to enable Audit Logging in QlikView&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;An example entry of exporting an object to Excel may look like this:&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;C:/ProgramData/QlikTech/Documents/movies database.qvw&amp;nbsp; &amp;nbsp; SendToExcel&amp;nbsp;&amp;nbsp; &amp;nbsp;DOMAIN\Administrator&amp;nbsp;&amp;nbsp; &amp;nbsp;Sheet Object&amp;nbsp;&amp;nbsp; &amp;nbsp;Document\LB04&lt;/PRE&gt;
&lt;P&gt;This is what we need when we suspect user actions to be responsible for the behaviour. Like someone attempting to export a table that pulls out every last bit of data from the document, or a user-created objects with an expression that causes an exception in the engine and crashes it.&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Session_SERVER.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Records server-wide closed sessions.&amp;nbsp; Sessions closed due to QlikView Server Service restarts should also be logged, if sessions are unaccounted for, this needs to be noted too, as it will indicate a service crash.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;QIX_performance.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;STRONG&gt;New!&lt;/STRONG&gt; Starting from QlikView November 2018/version 12.30, you now have the possibility to capture granular usage metrics from the Qlik in-memory engine based on configurable thresholds.&amp;nbsp; This provides the ability to capture CPU and RAM utilization of individual chart objects, CPU and RAM utilization of reload tasks, and more.&lt;BR /&gt;&lt;BR /&gt;This log is by default &lt;STRONG&gt;not&lt;/STRONG&gt; enabled so please follow the instruction provided&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/Subsystems/Server/Content/QV_Server/QlikView-Server/QVSRM_Logging.htm#anchor-10" target="_blank" rel="noopener"&gt;here&amp;nbsp;&lt;/A&gt;to enable it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="6" color="#FF0000"&gt;&lt;STRONG&gt;!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt; Be very careful when enabling this, as it can generate a lot of logging information very quickly.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Examples:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/What-does-quot-Warning-WorkingSet-Virtual-Memory-is-quot-mean/ta-p/1712673" target="_blank" rel="noopener"&gt;What does "Warning WorkingSet: Virtual Memory is . . . ." mean?&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Unable-To-Export-Large-Objects-To-Excel/ta-p/1711909" target="_blank" rel="noopener"&gt;Unable To Export Large Objects To Excel After Upgrading to November 2017&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/SE-LOG-when-AAALR-1072-471418-is-greater-than-1-000000-we/ta-p/1713286" target="_blank" rel="noopener"&gt;AAALR greater than row applicator messages&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Slow-AccessPoint-loading-times-and-Management-Console/ta-p/1710492" target="_blank" rel="noopener"&gt;AccessPoint slow to load due to too many files or folders mounted&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;What do we do with the data that we find or what are we looking for?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;We are looking for:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;What documents are being loaded and by what users?&lt;/LI&gt;
&lt;LI&gt;Are any documents being uploaded to the server by the QDS at the same time? During peak hours, this can lead to stability issues if the system is already heavily loaded.&lt;/LI&gt;
&lt;LI&gt;What actions are being carried out by the users just before the crash or sudden peak in memory usage? If you want more information on how to trace a user through the entire system, &lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-trace-user-login-usage-and-exit-in-QlikView/ta-p/1715961" target="_blank" rel="noopener"&gt;How to trace user login, usage, and exit in QlikView&lt;/A&gt; might be helpful.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For example, we might see:&lt;/P&gt;
&lt;PRE&gt;Information&amp;nbsp; Server: Document Load: Beginning open of document
Information&amp;nbsp; System: Document Load - ODE1: Document \\path\\doc.QVW, AuthenLev(1). Authuser()
Information&amp;nbsp; DOC loading: Beginning load of document \\path\\doc.QVW.
Warning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WorkingSet: Virtual Memory is growing beyond parameters - 4.308(4.200) GB
Warning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WorkingSet: Virtual Memory is growing beyond parameters - 4.688(4.200) GB
Warning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WorkingSet: Virtual Memory is growing beyond parameters - 4.711(4.200) GB&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;There were no memory alerts prior to the load of doc&lt;FONT face="courier new,courier"&gt;.QVW&lt;/FONT&gt;, so we can start with this one.&lt;/P&gt;
&lt;P&gt;Depending on our findings, we may then move on to:&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;A review of active QlikView documents&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Documents active during the day and while the problem is observed, can be individually reviewed for their basic memory footprint.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;An example would be to open the documents individually in the QlikView Desktop client.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;If an object or sheet was already identified by using the log files above, this can be reviewed directly.&lt;/LI&gt;
&lt;LI&gt;It is also possible to get an overview of calculation times and memory usage of individual objects:
&lt;UL&gt;
&lt;LI&gt;Open the document in QlikView Desktop and go to &lt;FONT face="courier new,courier"&gt;Settings &amp;gt; Document Properties&lt;/FONT&gt;...&lt;/LI&gt;
&lt;LI&gt;Go to the Sheets tab and in the list of objects, review the Calc Time and Memory data for each object.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;If a Document or Object was identified:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Carry out optimization with the assistance of the original developer of the document.&lt;/LI&gt;
&lt;LI&gt;If a shared object/user object was identified, the object can be deleted in the QlikView Management Console. See&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/QlikView-Manage-User-Objects-and-Shared-Objects/ta-p/1715902" target="_blank" rel="noopener"&gt;QlikView: Manage User Objects and Shared Objects.&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;We do have some guidelines though that can be applied to make sure the server is configured for the best possible stability and performance.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;For general optimization of the server:&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Is QlikView deployed on a virtual or physical machine?
&lt;UL&gt;
&lt;LI&gt;If Virtual, make sure you followed our virtualization best practice&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Virtualization-Best-Practices-In-QlikView-And-Qlik-Sense/ta-p/1715449" target="_blank" rel="noopener"&gt;Virtualization Best Practices In QlikView And Qlik Sense.&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;If Physical, double check that the server hardware is following the recommendations provided by the Qlik Scalability Team&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/List-of-Favorable-Server-Hardware-from-Qlik-Scalability-Center/ta-p/1710890" target="_blank" rel="noopener"&gt;List of recommended Server Hardware from Qlik Scalability Center&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Configure the Server BIOS optimally:
&lt;UL&gt;
&lt;LI&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/BIOS-Settings-For-Best-Performance-On-QlikView-Server-And/ta-p/1710242" target="_blank" rel="noopener"&gt;BIOS Settings For Best Performance On QlikView Server And QlikView Publisher&lt;/A&gt;for instruction.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Are other services hosted on the same machine? The &lt;FONT face="courier new,courier"&gt;QVS.exe&lt;/FONT&gt; does not like sharing.
&lt;UL&gt;
&lt;LI&gt;If the QlikView Server Service shares a host with the QlikView Distribution Service, the Distribution Service could potentially be taking resources from the &lt;FONT face="courier new,courier"&gt;qvs.exe&lt;/FONT&gt;. A separate machine for QlikView Distribution Service may be necessary.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Adjust when documents are released from memory:
&lt;UL&gt;
&lt;LI&gt;The default value is set to 8 hours. Configure this in the QlikView Management Console &lt;FONT face="courier new,courier"&gt;&amp;gt; System &amp;gt; Setup &amp;gt; QlikView Servers &amp;gt; QVS@servername &amp;gt; Documents &amp;gt; Document Timeout&lt;/FONT&gt; value.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Configure the QlikView engine to clear cached data:
&lt;UL&gt;
&lt;LI&gt;This is only recommended as an interim step while other actions are taken to either scale the system correctly, or optimizations of QlikView documents have been completed.&lt;/LI&gt;
&lt;LI&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-clear-the-cache-used-by-QlikView-Server-and-QlikSense/ta-p/1710939" target="_blank" rel="noopener"&gt;How to clear the cache used by QlikView Server and QlikSense Engine&amp;nbsp;&lt;/A&gt;for instructions.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Is the Page File on the machine configured correctly?
&lt;UL&gt;
&lt;LI&gt;A too small page file may result in performance issues, even if the QlikView Server memory management seems to be working as expected. Allow Windows to choose Page File size.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Related Content:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Event-Log-Verbosity-in-Qlik-View/ta-p/1711545" target="_blank" rel="noopener"&gt;Event Log Verbosity in Qlik View&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Best-setup-setting-for-QlikView-Server-logging/ta-p/1711226" target="_blank" rel="noopener"&gt;Best setup setting for QlikView Server logging&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-To-Collect-QlikView-Server-Log-Files/ta-p/1711801" target="_blank" rel="noopener"&gt;How To Collect QlikView Server Log Files &lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Recommended-Log-files-to-analyze-QlikView-problem/ta-p/1711223" target="_blank" rel="noopener"&gt;Recommended Log files to analyze QlikView problem&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/QlikView-Services-and-Log-Guide/ta-p/1713560" target="_blank" rel="noopener"&gt;QlikView Services and Log Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 13:43:42 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2022-02-17T13:43:42Z</dc:date>
    <item>
      <title>Troubleshooting QlikView Server resource problems and crashes</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Troubleshooting-QlikView-Server-resource-problems-and-crashes/ta-p/1715551</link>
      <description>&lt;P&gt;In this article, we outline troubleshooting steps to identify QlikView Server Service problems related to resource issues and crashes. Examples are progressively higher RAM or CPU usage and engine crashes due to exceptions.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It also covers general guidelines on how to troubleshoot QlikView Server Service crashes.&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;Symptoms:&lt;/STRONG&gt;&lt;/H5&gt;
&lt;UL&gt;
&lt;LI&gt;QlikView Server service RAM usage or CPU usage increases progressively until the system crashes&lt;/LI&gt;
&lt;LI&gt;Users are disconnected while working with documents in the Full Browser / AJAX client or Internet Explorer Plugin&lt;/LI&gt;
&lt;LI&gt;The AccessPoint displays No Server&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Before we can get started, we need to look at how QlikView (or our QIX engine in general) uses resources. Material for extended reading is available here:&amp;nbsp;&lt;U&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/QlikView-and-Qlik-Sense-resource-usage-and-the-Qlik-Associative/ta-p/1711045" target="_blank" rel="noopener"&gt;QlikView and Qlik Sense resource usage and the Qlik Associative Engine Memory Management and CPU Utilization&lt;/A&gt;&amp;nbsp;&lt;/U&gt;(including an excellent video summary that I really need to recommend).&lt;/P&gt;
&lt;H5&gt;&lt;STRONG&gt;But to summarize the videos: &lt;/STRONG&gt;&lt;/H5&gt;
&lt;UL&gt;
&lt;LI&gt;Increased memory usage / RAM usage up to the configured Working Set Limit&amp;nbsp;is expected. It should be a gradual, and over time, increase.&lt;/LI&gt;
&lt;LI&gt;An immediate problem can be identified if there is a sudden spike to the High Working Set Limit or beyond.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;If the QlikView Server Service is hosted in a virtual environment, resources need to be&amp;nbsp;dedicated.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So in order to troubleshoot resource issues and crashes, we need to first figure out if something is &lt;STRONG&gt;&lt;EM&gt;wrong&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;, &lt;/EM&gt;or if we are looking at the QlikView server having &lt;STRONG&gt;outgrown the currently available resource&lt;/STRONG&gt;. Since like anything else, as usage grows, demand grows and what we currently have available just isn’t enough anymore. A bit like a plant outgrowing its pot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But how do we identify an actual&amp;nbsp;&lt;STRONG&gt;problem&amp;nbsp;&lt;/STRONG&gt;vs an&amp;nbsp;&lt;STRONG&gt;expected&amp;nbsp;&lt;/STRONG&gt;behaviour?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;What is using the resources?&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;I know, I already blamed the engine from the get-go, but we do need to make sure we aren’t pointing fingers at the wrong culprit. So, if the host operating system is running out of resources, we first want to make 100% sure that it’s the &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;qvs.exe&lt;/STRONG&gt;&lt;/FONT&gt; that’s at fault. This can be determined either by monitoring the Windows Task Manager\Processes tab directly while the problem occurs or maybe it was previously identified by a resource monitoring tool, such as Windows Performance Monitor.&lt;/P&gt;
&lt;P&gt;If it turns out to be a &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;qvb.exe&lt;/STRONG&gt;&lt;/FONT&gt; (if the Distribution Service is on the same machine), then this got a little easier, since then it’s a reload that’s causing the problem. Troubleshooting this is, sadly, not covered in this post though. Maybe another time?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Identify if:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Memory usage increases gradually over time&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;and stays stable at or around the configured Low Working Set Limit.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This is expected behaviour.&lt;/P&gt;
&lt;P&gt;We can confirm what the Working Set is configured as in: QlikView Management Console&lt;FONT face="courier new,courier"&gt; &amp;gt; System &amp;gt; Setup &amp;gt; QlikView Servers &amp;gt; QVS@SERVER &amp;gt; Performance&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;So, it'll look a bit like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="graph yes okay.png" style="width: 407px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6759i928A495B4F85423F/image-size/large?v=v2&amp;amp;px=999" role="button" title="graph yes okay.png" alt="graph yes okay.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Memory usage increases gradually over time&lt;/FONT&gt;, is stable at or around the Low Working Set Limit or at the High Limit. Users are experiencing a negative performance impact.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This may indicate that the current setup needs to be reevaluated and that more resources need to be made available, or an additional QlikView Server node needs to be added to the environment. The below steps may still be applied to find possible problem documents or objects that could be optimized.&lt;/P&gt;
&lt;P&gt;May also look like the graph above.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="4"&gt;Memory usage increases suddenly&lt;/FONT&gt; and leads to performance impact or QlikView Server Service crashes&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Boom. Unexpected behaviour.&lt;/P&gt;
&lt;P&gt;Often looks somewhat like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="graph yes not okay.png" style="width: 410px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6758i1BE50C2197D72836/image-size/large?v=v2&amp;amp;px=999" role="button" title="graph yes not okay.png" alt="graph yes not okay.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this example 1 document took up the majority of available RAM, while another was loaded in after, tipping the &lt;FONT face="courier new,courier"&gt;QVS.exe&lt;/FONT&gt; to 100% memory usage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Identifying the problem and root cause&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Next, we need to start analyzing a few specific log files, and for that, we need to first identify 3 things:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;when did the resource allocation problem start&lt;/STRONG&gt;,&lt;/LI&gt;
&lt;LI&gt;when it came to its&amp;nbsp;&lt;STRONG&gt;peak&lt;/STRONG&gt;,&lt;/LI&gt;
&lt;LI&gt;and&amp;nbsp;&lt;STRONG&gt;what actions&amp;nbsp;&lt;/STRONG&gt;were being carried out against the QlikView Server engine at that time.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The &lt;STRONG&gt;When &lt;/STRONG&gt;can be identified post mortem (after the fact) by looking at when issues were reported, and hopefully by catching errors and warnings logged in the QlikView Server Event logs.&amp;nbsp; But since we want to make sure we are prepared for the next time this happens, we usually recommend setting up &lt;STRONG&gt;Resource Monitoring.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Capture Resource Usage (Windows)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Configuring resource monitoring or performance monitoring in Windows to get an overview of the situation is always recommended. See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-set-up-performance-monitoring-for-QlikView-Server-Service/ta-p/1714026" target="_blank" rel="noopener"&gt;How to set up performance monitoring for QlikView Server Service(QVS) (perfmon)&lt;/A&gt;&amp;nbsp;for a simple example.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Review native QlikView log files&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This is where we roll our sleeves up and start digging.&lt;/P&gt;
&lt;P&gt;The QlikView Server Service has four log files that are crucial for identifying possible issues, and I will touch briefly on all of them. For more details on logs, check out this “&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/How-To-Collect-QlikView-Server-Log-Files/ta-p/1711801" target="_blank" rel="noopener"&gt;How to collect QlikView log files&lt;/A&gt;” article. &amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Some basics:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Default storage:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\ProgramData\QlikTech\QlikViewServer&lt;/FONT&gt; (you might have changed that, check the Management Console)&lt;/LI&gt;
&lt;LI&gt;Configurable in the QlikView Management Console &lt;FONT face="courier new,courier"&gt;&amp;gt; System &amp;gt; Setup &amp;gt; QlikView Servers &amp;gt; QVS@SERVER &amp;gt; Logging&lt;/FONT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Events_SERVER.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;This includes engine activity. How much we will be able to read depends on log verbosity.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;It will log, for example,&amp;nbsp;WorkingSet warnings. See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/What-does-quot-Warning-WorkingSet-Virtual-Memory-is-quot-mean/ta-p/1712673" target="_blank" rel="noopener"&gt;What does "Warning WorkingSet: Virtual Memory is . . . ." mean?&lt;/A&gt; This is what we’d expect if the qvs.exe itself is overloading the machine.&lt;/LI&gt;
&lt;LI&gt;It can give details on what documents are being loaded, what documents are being uploaded from the Distribution Service, or related actions to document activities.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;It will log exceptions and crashes&lt;/LI&gt;
&lt;LI&gt;For best results in finding the root cause of resource issues, set the &lt;FONT face="courier new,courier"&gt;Log Verbosity&lt;/FONT&gt; to&amp;nbsp;&lt;EM&gt;High&amp;nbsp;&lt;/EM&gt;and split&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Performance_SERVER.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Includes performance information for the QlikView Server Service&amp;nbsp;&lt;EM&gt;only.&amp;nbsp;&lt;/EM&gt;No other services or components will be logged.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Only logs every 5 minutes by default.&lt;/LI&gt;
&lt;LI&gt;Logs memory statistics in the following rows:&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;VMCommitted(MB)&amp;nbsp;&amp;nbsp; &amp;nbsp;VMAllocated(MB)&amp;nbsp;&amp;nbsp; &amp;nbsp;VMFree(MB)&amp;nbsp;&amp;nbsp; &amp;nbsp;VMLargestFreeBlock(MB)&lt;/PRE&gt;
&lt;P&gt;I like using this one to pinpoint crashes easily, as it will show when the service starts up. And a glance at the memory statistics can already help identifying how quickly we consumed it all. Generally, we like throwing this into a QlikView or Sense App and looking at pretty graphs.&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Audit_SERVER.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Logs user actions, such as the opening of documents, opening of sheets, bookmark selections, exports, etc.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Not enabled by default. To enable, follow&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-enable-Audit-Logging-in-QlikView/ta-p/1717013" target="_blank" rel="noopener"&gt;How to enable Audit Logging in QlikView&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;An example entry of exporting an object to Excel may look like this:&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;C:/ProgramData/QlikTech/Documents/movies database.qvw&amp;nbsp; &amp;nbsp; SendToExcel&amp;nbsp;&amp;nbsp; &amp;nbsp;DOMAIN\Administrator&amp;nbsp;&amp;nbsp; &amp;nbsp;Sheet Object&amp;nbsp;&amp;nbsp; &amp;nbsp;Document\LB04&lt;/PRE&gt;
&lt;P&gt;This is what we need when we suspect user actions to be responsible for the behaviour. Like someone attempting to export a table that pulls out every last bit of data from the document, or a user-created objects with an expression that causes an exception in the engine and crashes it.&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Session_SERVER.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Records server-wide closed sessions.&amp;nbsp; Sessions closed due to QlikView Server Service restarts should also be logged, if sessions are unaccounted for, this needs to be noted too, as it will indicate a service crash.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;QIX_performance.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;STRONG&gt;New!&lt;/STRONG&gt; Starting from QlikView November 2018/version 12.30, you now have the possibility to capture granular usage metrics from the Qlik in-memory engine based on configurable thresholds.&amp;nbsp; This provides the ability to capture CPU and RAM utilization of individual chart objects, CPU and RAM utilization of reload tasks, and more.&lt;BR /&gt;&lt;BR /&gt;This log is by default &lt;STRONG&gt;not&lt;/STRONG&gt; enabled so please follow the instruction provided&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/Subsystems/Server/Content/QV_Server/QlikView-Server/QVSRM_Logging.htm#anchor-10" target="_blank" rel="noopener"&gt;here&amp;nbsp;&lt;/A&gt;to enable it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="6" color="#FF0000"&gt;&lt;STRONG&gt;!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt; Be very careful when enabling this, as it can generate a lot of logging information very quickly.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Examples:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/What-does-quot-Warning-WorkingSet-Virtual-Memory-is-quot-mean/ta-p/1712673" target="_blank" rel="noopener"&gt;What does "Warning WorkingSet: Virtual Memory is . . . ." mean?&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Unable-To-Export-Large-Objects-To-Excel/ta-p/1711909" target="_blank" rel="noopener"&gt;Unable To Export Large Objects To Excel After Upgrading to November 2017&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/SE-LOG-when-AAALR-1072-471418-is-greater-than-1-000000-we/ta-p/1713286" target="_blank" rel="noopener"&gt;AAALR greater than row applicator messages&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Slow-AccessPoint-loading-times-and-Management-Console/ta-p/1710492" target="_blank" rel="noopener"&gt;AccessPoint slow to load due to too many files or folders mounted&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;What do we do with the data that we find or what are we looking for?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;We are looking for:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;What documents are being loaded and by what users?&lt;/LI&gt;
&lt;LI&gt;Are any documents being uploaded to the server by the QDS at the same time? During peak hours, this can lead to stability issues if the system is already heavily loaded.&lt;/LI&gt;
&lt;LI&gt;What actions are being carried out by the users just before the crash or sudden peak in memory usage? If you want more information on how to trace a user through the entire system, &lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-trace-user-login-usage-and-exit-in-QlikView/ta-p/1715961" target="_blank" rel="noopener"&gt;How to trace user login, usage, and exit in QlikView&lt;/A&gt; might be helpful.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For example, we might see:&lt;/P&gt;
&lt;PRE&gt;Information&amp;nbsp; Server: Document Load: Beginning open of document
Information&amp;nbsp; System: Document Load - ODE1: Document \\path\\doc.QVW, AuthenLev(1). Authuser()
Information&amp;nbsp; DOC loading: Beginning load of document \\path\\doc.QVW.
Warning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WorkingSet: Virtual Memory is growing beyond parameters - 4.308(4.200) GB
Warning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WorkingSet: Virtual Memory is growing beyond parameters - 4.688(4.200) GB
Warning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WorkingSet: Virtual Memory is growing beyond parameters - 4.711(4.200) GB&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;There were no memory alerts prior to the load of doc&lt;FONT face="courier new,courier"&gt;.QVW&lt;/FONT&gt;, so we can start with this one.&lt;/P&gt;
&lt;P&gt;Depending on our findings, we may then move on to:&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;A review of active QlikView documents&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Documents active during the day and while the problem is observed, can be individually reviewed for their basic memory footprint.&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;An example would be to open the documents individually in the QlikView Desktop client.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;If an object or sheet was already identified by using the log files above, this can be reviewed directly.&lt;/LI&gt;
&lt;LI&gt;It is also possible to get an overview of calculation times and memory usage of individual objects:
&lt;UL&gt;
&lt;LI&gt;Open the document in QlikView Desktop and go to &lt;FONT face="courier new,courier"&gt;Settings &amp;gt; Document Properties&lt;/FONT&gt;...&lt;/LI&gt;
&lt;LI&gt;Go to the Sheets tab and in the list of objects, review the Calc Time and Memory data for each object.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;If a Document or Object was identified:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Carry out optimization with the assistance of the original developer of the document.&lt;/LI&gt;
&lt;LI&gt;If a shared object/user object was identified, the object can be deleted in the QlikView Management Console. See&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/QlikView-Manage-User-Objects-and-Shared-Objects/ta-p/1715902" target="_blank" rel="noopener"&gt;QlikView: Manage User Objects and Shared Objects.&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;We do have some guidelines though that can be applied to make sure the server is configured for the best possible stability and performance.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;For general optimization of the server:&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Is QlikView deployed on a virtual or physical machine?
&lt;UL&gt;
&lt;LI&gt;If Virtual, make sure you followed our virtualization best practice&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Virtualization-Best-Practices-In-QlikView-And-Qlik-Sense/ta-p/1715449" target="_blank" rel="noopener"&gt;Virtualization Best Practices In QlikView And Qlik Sense.&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;If Physical, double check that the server hardware is following the recommendations provided by the Qlik Scalability Team&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/List-of-Favorable-Server-Hardware-from-Qlik-Scalability-Center/ta-p/1710890" target="_blank" rel="noopener"&gt;List of recommended Server Hardware from Qlik Scalability Center&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Configure the Server BIOS optimally:
&lt;UL&gt;
&lt;LI&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/BIOS-Settings-For-Best-Performance-On-QlikView-Server-And/ta-p/1710242" target="_blank" rel="noopener"&gt;BIOS Settings For Best Performance On QlikView Server And QlikView Publisher&lt;/A&gt;for instruction.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Are other services hosted on the same machine? The &lt;FONT face="courier new,courier"&gt;QVS.exe&lt;/FONT&gt; does not like sharing.
&lt;UL&gt;
&lt;LI&gt;If the QlikView Server Service shares a host with the QlikView Distribution Service, the Distribution Service could potentially be taking resources from the &lt;FONT face="courier new,courier"&gt;qvs.exe&lt;/FONT&gt;. A separate machine for QlikView Distribution Service may be necessary.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Adjust when documents are released from memory:
&lt;UL&gt;
&lt;LI&gt;The default value is set to 8 hours. Configure this in the QlikView Management Console &lt;FONT face="courier new,courier"&gt;&amp;gt; System &amp;gt; Setup &amp;gt; QlikView Servers &amp;gt; QVS@servername &amp;gt; Documents &amp;gt; Document Timeout&lt;/FONT&gt; value.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Configure the QlikView engine to clear cached data:
&lt;UL&gt;
&lt;LI&gt;This is only recommended as an interim step while other actions are taken to either scale the system correctly, or optimizations of QlikView documents have been completed.&lt;/LI&gt;
&lt;LI&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-clear-the-cache-used-by-QlikView-Server-and-QlikSense/ta-p/1710939" target="_blank" rel="noopener"&gt;How to clear the cache used by QlikView Server and QlikSense Engine&amp;nbsp;&lt;/A&gt;for instructions.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Is the Page File on the machine configured correctly?
&lt;UL&gt;
&lt;LI&gt;A too small page file may result in performance issues, even if the QlikView Server memory management seems to be working as expected. Allow Windows to choose Page File size.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Related Content:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Event-Log-Verbosity-in-Qlik-View/ta-p/1711545" target="_blank" rel="noopener"&gt;Event Log Verbosity in Qlik View&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Best-setup-setting-for-QlikView-Server-logging/ta-p/1711226" target="_blank" rel="noopener"&gt;Best setup setting for QlikView Server logging&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-To-Collect-QlikView-Server-Log-Files/ta-p/1711801" target="_blank" rel="noopener"&gt;How To Collect QlikView Server Log Files &lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/Recommended-Log-files-to-analyze-QlikView-problem/ta-p/1711223" target="_blank" rel="noopener"&gt;Recommended Log files to analyze QlikView problem&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/QlikView-Services-and-Log-Guide/ta-p/1713560" target="_blank" rel="noopener"&gt;QlikView Services and Log Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 13:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Troubleshooting-QlikView-Server-resource-problems-and-crashes/ta-p/1715551</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2022-02-17T13:43:42Z</dc:date>
    </item>
  </channel>
</rss>

