Hello,
We are seeing some performance issues with loading the dashboard. I know this issue has been discussed before, so I’ll do my best to cover all the bases.
Environment:
OOD 3.0.1
RHEL 8.5
CAS for auth with AD backend via SSSD
Issue:
Loading the dashboard with a PUN already running takes <1s (~300-800ms) whereas if a PUN is not already running, or when restarting the web server, the dashboard takes 4-16s to load – about an order of magnitude slower. I don’t have a large sample size of test cases, but anecdotally, accounts with sandbox development enabled seem to be on the longer end of both ranges, i.e. closer to 1s with a PUN running and 8-16s when restarting the web server.
What I’ve tried so far:
I’ve read most of the existing threads on this issue. In no particular order:
- There are no errors in the console, and no issue serving assets, so this thread doesn’t seem to address the problem.
- This isn’t the issue, because we have SELinux disabled.
- I’ve applied the recommended performance-boosting SSSD configs mentioned in this thread. Time to authenticate and retrieve ID information from AD does not seem to be the issue.
- Loading time for individual assets doesn’t seem to be the issue, since in all cases, loading the dashboard itself takes almost all of the total request time. After the dashboard loads, all other assets load almost instantly.
I’ve also attempted to debug the process by manually stopping and restarting the PUN from the terminal on the OOD server:
/opt/ood/nginx_stage/sbin/nginx_stage nginx_clean -u ndusek
/opt/ood/nginx_stage/sbin/nginx_stage pun -u ndusek
In those cases, load times are <1s, consistent with a reload of the dashboard when the PUN is already running.
So at this point, it seems to be that the dashboard is doing something that takes longer if a PUN is not already running, and that the time seems to increase if you have more apps to serve. In other words, I’m wondering, with a new PUN, does the dashboard have to enumerate all the apps a user has access to, but after that initial load, assets/apps are cached and served more quickly?
I hope what I’m saying makes sense or rings a bell with the OOD developers. Let me know if I can provide any more information.
Thanks,
Nick