diff options
author | Tobias Klausmann <klausman@gentoo.org> | 2016-12-01 14:04:31 +0100 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2016-12-01 14:05:03 +0100 |
commit | 620deff506d5d7ae1260fb2fa3f5e6188ad50af6 (patch) | |
tree | 61a17727420e24292f1dd1881cb8a71557dbb0f4 /www-apps | |
parent | app-arch/dump: x86 stable wrt bug #515274 (diff) | |
download | gentoo-620deff506d5d7ae1260fb2fa3f5e6188ad50af6.tar.gz gentoo-620deff506d5d7ae1260fb2fa3f5e6188ad50af6.tar.bz2 gentoo-620deff506d5d7ae1260fb2fa3f5e6188ad50af6.zip |
www-apps/grafana-bin: Add info about higher FD ulimit for 4.x
Package-Manager: portage-2.3.2
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/grafana-bin/files/grafana.confd | 5 | ||||
-rw-r--r-- | www-apps/grafana-bin/grafana-bin-4.0.0-r1.ebuild (renamed from www-apps/grafana-bin/grafana-bin-4.0.0.ebuild) | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/www-apps/grafana-bin/files/grafana.confd b/www-apps/grafana-bin/files/grafana.confd index 207ef765f653..0ad311de1de3 100644 --- a/www-apps/grafana-bin/files/grafana.confd +++ b/www-apps/grafana-bin/files/grafana.confd @@ -5,3 +5,8 @@ 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" diff --git a/www-apps/grafana-bin/grafana-bin-4.0.0.ebuild b/www-apps/grafana-bin/grafana-bin-4.0.0-r1.ebuild index b46087709f6f..95285d178697 100644 --- a/www-apps/grafana-bin/grafana-bin-4.0.0.ebuild +++ b/www-apps/grafana-bin/grafana-bin-4.0.0-r1.ebuild @@ -49,3 +49,9 @@ 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." +} |