As a troubleshooting step in analyzing Qlik NPrinting Server crashes or Performance-related issue, it can be useful to use Microsoft Performance Monitor to record the resource utilization by Qlik NPrinting as it relates to overall resources on the server. The resulting log file can then be analyzed using QlikView or Qlik Sense for example.
Start Performance Monitor on the server you want to monitor.
Navigate to "User defined" and right-click, select New- Data Collector Set
Give the new Collector Set a meaningful name and select "Create manually (advanced)"
In the next step we want to "Create data logs"and select "Performance Counter" as the source and then press "next"
Then press "Add" to start selecting the Performance counters we are interested in recording.
The first one we want to select is called "% Processor time" and we want it for instance "Total"
Next we want to select "Available MBytes" under Memory to get the total free memory on the machine
Next we want to select the information about the NPrinting Server process we are interested in. We want to capture "% Processor Time" and "Working Set - Private" for the Instance called NPrintingSvc Then press "Ok"
Then check that you got the counters as shown in this picture, and that you have set the logging interval to log every 5 seconds. Press "next"
Then set the directory where you want the log to be saved and press "next"
Then select "Save and close" and press "Finish"
Next Right-click your newly created data collector set and press "properties"
In the dialogue, change "Log format" to "Comma separated"
On the "File" tab, give the file a descriptive name, Node ID might be a good idea if you have more than one server you are logging And press "OK"
Finally, right-click the Data collector and clisk "Start"
Then leave the Data Collector running until you have captured the data you want.