Revert "www-apps/grafana-bin: Add info about higher FD ulimit for 4.x"
authorTobias Klausmann <klausman@gentoo.org>
Thu, 1 Dec 2016 17:02:04 +0000 (18:02 +0100)
committerTobias Klausmann <klausman@gentoo.org>
Thu, 1 Dec 2016 17:03:50 +0000 (18:03 +0100)
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.

www-apps/grafana-bin/files/grafana.confd
www-apps/grafana-bin/grafana-bin-4.0.0.ebuild [moved from www-apps/grafana-bin/grafana-bin-4.0.0-r1.ebuild with 83% similarity]

index 0ad311de1de3d181bce5cab18805122c0621fe11..207ef765f653fe3603dcb1908c80ee8966745748 100644 (file)
@@ -5,8 +5,3 @@ GRAFANA_USER=grafana
 
 # 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"
similarity index 83%
rename from www-apps/grafana-bin/grafana-bin-4.0.0-r1.ebuild
rename to www-apps/grafana-bin/grafana-bin-4.0.0.ebuild
index 95285d1786977050b4b98a58396a081a9073a155..b46087709f6f6e51a3cdab728a73a510f452bc56 100644 (file)
@@ -49,9 +49,3 @@ src_install() {
        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."
-}