Graylog2 / puppet-graylog

Install and configure a Graylog system via Puppet
Apache License 2.0
8 stars 29 forks source link

Request - The ability to modify jvm opts #25

Closed mstathers closed 3 years ago

mstathers commented 6 years ago

We like to increase the memory available to the JVM. Would be nice if we could do this with the module.

CentOS /etc/sysconfig/graylog-server -Xms1g -Xmx1g

zez3 commented 4 years ago

more than a year later and no progress on this...Does someone have a bit of time for this? Thanks

hdep commented 4 years ago

Hi @bernd are you open to PR on this subject ?

ghost commented 4 years ago

was looking at this just today :). Feel free to adapt it. Thanks for the module so far 👍 .

bernd commented 4 years ago

@hdep Feel free! :smile: Thank you! :+1:

malcyon commented 3 years ago

It looks like we would need to add a template for the environment file. On Debian systems, it is located at /etc/default/graylog-server. On Redhat-based systems, it is at /etc/sysconfig/graylog-server.

This is the version the os package installs:

https://github.com/Graylog2/fpm-recipes/blob/4.2/recipes/graylog-server/files/environment