[Solved] What causes Speed issues?

I wonder why the self hostet Matomo 4.6.2 is slow and won’t load many times. Even on the sites OpenVPN connection. I became a liitle better by adjusting nginx.conf timeouts.

Which factors contribuite to speed issues in Matomo?

Solved. It was my rig causing the issue. A line in e/etc/nsswitch.conf.
Switching from and to as displayed below.
#hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
hosts: files dns mdns_minimal
I’m running Linux mint,