Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, I am part of a team that utilizes Qlik Sense + Nprinting and we were recently doing our upgrade QA on a staging server when I noticed an odd issue. When I run a set of 14 reports that we're currently running on Nprinting 2019 version, 9 of the reports finish within 50 seconds, while the other 5 end up running for as long as you let them run. I've let this task run for 24+ hours and they never end up generating.
I ran the reports 1 by 1 and found which reports generate and which don't, and then I wanted to see if the ones that wouldn't generate in a 14 report task, would generate alone. This task of 1 report with 1 site still wouldn't generate even after hours. These reports usually take 30-50 seconds each when I run them with all of the same filters.
The Qlik Sense app does have 3rd party extensions but those are in the majority of the reports. The most luck i've had is to completely remove the 3rd party extension from the app and rebuild the tables for the missing objects but even then I get some of the non generating reports to generate after 2-3 hours at best.
Has anyone else had this issue? We have to service thousands of clients along with tens thousands of sites, having 1 site take an hour instead of 30-50 seconds has been crippling. I've made a ticket as well but was told to make a post on the forums as well.
Hi,
this is not as simple as saying that one report generates quickly and another one slower. You have to take into account following things:
As you can see this is not a straight forward task. It is complex, requires patience and transparency with what we are dealing with.
BY THE WAY - strange that Qlik support asked you to write community post 🤔
Anyway - please keep us posted how it goes as it may be a bug in the version you are running and it would be good to know how to troubleshoot it.
good luck - cheers
Hi Lech,
I read through your post but I think that you're generalizing the problem. I am using the same app and the same reports that I was using with the 2019 version of Nprinting. On that version everything runs and everything runs rather quickly. For this example, lets say each reports runs in 30-60 seconds each, so that for 14 reports the entire task would take 7-14 minutes to execute.
After upgrading the Nprinting to the 2021 version, 9 out of these reports still run in 30-60 seconds while the remaining 5 run for 24+ hours. I understand the complexity of Nprinting and the details involved in thread count, core count, app size, ram size, network bandwidth, etc. That's not my problem here since I'm not concerned about the OVERALL performance of Nprinting, I am concerned that the NEW version we're looking to upgrade to is malfunctioning even after considerable debugging attempts.
I also mentioned that I had removed all of the extensions and that I had rebuilt the tables and even then the same reports would take 1+ hours to run. I understand there are best practices and we've done what we can to follow them in order to get this large scale distribution running in the first place. Again, my issue isn't with the efficiency of Nprinting overall but rather why an upgrade could possibly extend run times a thousandfold.
Adding in two pictures that show the exact same task on the two servers in terms of time to generation. Disregard the "Elapsed Time" row since I aborted the task and it had not moved since 5 hours into the run. The exact same task on 2019 version took 2 minutes and 49 seconds.
This is the root of my concern for this new version.
Hi @bkukov
Thanks for reply and confirmation that you have changed and removed all unsupported objects. That way Qlik support will have something to look at.
You have given us 2 screenshots of tasks where 1 runs faster and another one runs for ages. I get it - it is strange and frustrating. Now,
I understand your general question is why it worked before and now after upgrade it does not work anymore. Well - that is good question but we cannot answer it looking just at the surface. We need to dig deep and find a cause of it. If we dont find anything in the logs and have no logical explanation that what I would consider being a bug, but again... such investigation requires access to your environments, logs etc and is probably case for support rather than community.
What about other things I mentioned?
True - It can be seen as generalizing problem just because we only have generic information here on community. I tried to lay out all aspects which should be looked at. The fact that you were running with unsupported objects before concerned me as it just proved that there were loopholes. I used that to highlight that in some scenarios not supported configuration may work but then suddenly it can stop working (which is exactly why it was unsupported in first place). You rightly changed all those extensions objects.
Have you made sure that there are no other unsupported objects? Maybe there is a default bookmark/trigger/action in the app?
We can argue here that i am generalizing topic and that I am focusing on everything being 100% developed by the book. All I want is to emphasize that we cannot look at the surface only. Instead we have to look at everything what NPrinting is doing when those reports run and try to pinpoint actual cause of it.
Another idea...
When you changed your templates to remove unsupported objects - did you upgrade NPrinting Designer before to ensure that it is on the same version as Server and Engine? I guess this could easily be overlooked and could corrupt your templates!
cheers
Lech