Decrease processes of Grafana

I got a beefy machine with 32 cores, but I assigned a VM with 24 cores. Anyhow, I have the feeling Grafana is trying to spawn 24 processes now (or even more!??). Which is overkill!

I’m unable to find any option to limit the amount of processes Grafana will spawn/run.

I think I went through all the options: Configure Grafana | Grafana documentation

Can somebody help me to reduce the Grafana foot-print? If not, Grafana please provide an option to set a upper limit of your processes/threads.

Kind regards,
Melroy van den Berg

I think this is a premature optimization. What is the problem? You may try to uninstall/delete all installed plugins (I guess they are running in their processes, because of security), disable alerting, etc.

I don’t have any extra plugin enabled (just the default once). The problem is that Grafana is using unnecessary amount of processes. And no way of fine-tuning this.

Are you using SQLite as backend?

May be you could try something similar:

How do you know/calculate necessary amount of processes in your case?

What kind of issues are causing current number of Grafana processes?

Unnecessary amount of RAM usage.

This topic is not about using SQLite or anything (and no I don’t use SQLite backend). This topic is also not about log levels.

This topic is about why can’t I specify the number of grafana server processes when Grafana starts?

By default Grafana seems start the same amount of processes as your server have cores/threads. Meaning with if you allocate 30 vCPUs to the VM, Grafana will start with 30 processes without anyway of reducing this number in the configs.

You can’t but that would be a good feature you can ask in grafana GitHub