This reverts commit
620deff506d5d7ae1260fb2fa3f5e6188ad50af6.
Grafana 4.0.0 has a massive FD leak problem (needing a restart every ten
minutes, depending on the amount of dashboard users and metrics).
Upstream is aware:
https://github.com/grafana/grafana/issues/6759
Still, we'll roll back 4.0.0 to beta2 until 4.0.1 is out.
# The group to run your application as.
GRAFANA_GROUP=grafana
-
-# Starting with 4.0, grafana uses a lot of file descriptors.
-# If you run into the default limit of 1024, uncomment this line and if needed,
-# bump its value.
-#rc_ulimit="-n 10000"
fowners grafana:grafana /var/{lib,log}/grafana
fperms 0750 /var/{lib,log}/grafana
}
-
-post_install() {
- einfo "Starting with version 4.0, Grafana is using a lot more file"
- einfo "descriptors. You can bump the limit (by default 1024) by"
- einfo "uncommenting the relevant line in /etc/conf.d/grafana."
-}