Hi Casey, check the /etc/sysconfig/graylog-server file for configuring the JVM settings of Graylog like initial and maximum heap size. For Elasticsearch, check the /etc/sysconfig/elasticsearch file (see https://www.elastic.co/guide/en/elasticsearch/reference/2.3/setup-service.html#_rpm_based_distributions ).
Cheers, Jochen On Tuesday, 12 July 2016 22:52:22 UTC+2, Casey Russell wrote: > > Group, > > I've installed Graylog 2.0 from packages (2.0.3) on CentOS 6 and > everything is running great. However, now that I'm feeding it a steady > diet of log data, I'm starting to get close to my heap boundaries and > occasionally getting an error or two about heap sizes. > > I've looked in the /etc/graylog/server/server.conf file and also in > the /etc/elasticsearch/elasticsearch.yml file. But the elasticsearch.yml > file doesn't appear to have any affect on anything, and there are NO > variables for heap in the server.conf distributed with the packages. > > Do I simply need to ADD the heap variables to the server.conf file? > What is the prescribed method for manipulating heap sizes (both Java and > ES) when you install from packages? > > Currently, the elasticsearch.yml contains the following line, > ES_HEAP_SIZE: 2G > but after restarting ES and the graylog-server, it's not set to 2G. > (output below) > CGroup: /system.slice/elasticsearch.service > └─3748 /bin/java -Xms256m -Xmx1g -Djava.awt.headless=true > ...... clipped > > > > -- > ***************************** > Casey Russell > http://www.caseyrussell.com > [email protected] > ***************************** > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/bcda142a-5e5c-4456-b779-578eae6cef40%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
