docker-grafana-graphite icon indicating copy to clipboard operation
docker-grafana-graphite copied to clipboard

Grafana dashboard is running very slow and gets stuck

Open edanshalom opened this issue 9 years ago • 2 comments

My grafana dashboard is running very slow and gets stuck occasionally. I'm running it on AWS t2.large and the CPU usage is 100%.

I guess the default configurations are not suitable for this load. This is what I see from top when refreshing the dashboard. gunicorn_django is eating my CPU every time I try to refresh/ zoom in/ zoom out etc. Any ideas what I can do to solve it? Should I increase the worker_processes in the nginx.conf? (it's set to 1)

top - 10:51:09 up 3 days, 1:07, 1 user, load average: 2.06, 1.07, 0.50 Tasks: 125 total, 3 running, 122 sleeping, 0 stopped, 0 zombie %Cpu(s):100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem: 8175600 total, 4283872 used, 3891728 free, 257232 buffers KiB Swap: 0 total, 0 used, 0 free. 3301996 cached Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18908 root 20 0 141860 58648 3880 R 99.9 0.7 0:05.45 gunicorn_django
18911 root 20 0 140840 58172 3916 R 99.9 0.7 0:04.42 gunicorn_django

edanshalom avatar Dec 06 '15 12:12 edanshalom

@edanshalom did you managed to find fix for this ?

ksingh7 avatar Sep 01 '16 08:09 ksingh7

i have same issue and fixed by add worker to gunicorn #114

hos7ein avatar Nov 01 '17 15:11 hos7ein