Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Mar 2, 2022 10:06:03 AM
Oct 22, 2019 7:50:28 AM
If you have been encountering high Repository CPU usage on the central node, combined with general system slowness and have granted a large number of users access to the QMC, it may be advisable to turn on some limits that were implemented in Qlik Sense September 2019.
There are 2 flags that provide these limits, each intended to reduce the system impact of limited users in the QMC.
The first is QMC Start Page LImited. This flag turns off the counters present in the QMC, the ones intended to show the number of apps, app objects and other information about the system. These are both not particularly useful for limited users as the counts will be misleading, but also require a full evaluation of all apps that the user could see. Turning them off should provide performance benefits with very little cost to the end user
The second is QMC Self Service Limited and has a much more significant impact. This flag limits users who do not have a QMC Role to only ever be able to see apps that they own, regardless of any expanded access Security Rules may grant. We recommend this be combined with restricting such users to only the Apps section of QMC. These users should still be able to access any tasks they need to modify through the associated items interface in the QMC.
To set these flags you need to modify the capabilities.json file found in the CapabilitiesService subfolder in the install directory (default C:\Program Files\Qlik\Sense\CapabilityService\ )
To turn on both of the new flags, on each node, check for the following flags and either add or edit them to look like this:
,{ "contentHash": "10159d595f5fa3bd250e90f30b1b7bf3", "originalClassName": "FeatureToggle", "flag": "QmcStartPageLimited", "enabled": true }, { "contentHash": "10159d595f5fa3bd250e90f30b1b7bf3", "originalClassName": "FeatureToggle", "flag": "QmcSelfServiceLimited", "enabled": true } To enable only QMC Start Page Limited add instead: ,{ "contentHash": "10159d595f5fa3bd250e90f30b1b7bf3", "originalClassName": "FeatureToggle", "flag": "QmcStartPageLimited", "enabled": true }, { "contentHash": "10159d595f5fa3bd250e90f30b1b7bf3", "originalClassName": "FeatureToggle", "flag": "QmcSelfServiceLimited", "enabled": false }
NOTE: Make sure to use lower case when setting values to true or false as capabilities.json file is case sensitive.
Then restart the Qlik Sense Service Dispatcher, then the Qlik Sense Repository service.