Description:
I have setup Pmm server in a monitor node and it is responsible for 128 or so DB server’s(almost all of it is RDS). The issue is when I try to access Pmm UI’s System overview or any db overview like PSQL, it takes around 13-14 seconds just to load the page. Which is just too long. Any idea’s on how to fix this?
Version: 2.37
Additional Information:
It has to be in the same server and same UI, I can’t separate them in different environment’s.
Hi @Divinstar_S
FYI: PMM 2 went EOL this year, consider migrating to PMM v3.
One thing you can try to improve the page load time is the following:
- Find nginx.conf and update (vi /etc/nginx/nginx.conf) those the first two lines as in pmm/build/ansible/roles/nginx/files/nginx.conf at v3 · percona/pmm · GitHub
- Restart Nginx (`supervisorctl restart nginx`)
That has to be done inside PMM Server container, no stoppage required.
Let us know if it helped.
1 Like
Thank you @ademidoff .
I tried what you had suggested but unfortunately it had no effect.
I followed the steps you have mentioned.
My alertmanager cpu is also spiking a lot, is that something that might affect Pmm ui. It goes to around 100 - 200 percent
Does you machine have sufficient resources to run that type of workload?
Can you share how much CPU and memory you have?