Hi, while you can certainly increase the maximum heap size for Graylog, it shouldn't be necessary for most workloads. As a matter of fact, increasing the heap size is counter-productive most of the time, as it increases the garbage collection time. What are you trying to achieve with this?
Cheers, Jochen On Thursday, 16 April 2015 00:06:03 UTC+2, Mark Moorcroft wrote: > > > From my kickstart: > > sed -i -e 's/-Xms1g -Xmx1g -XX:NewRatio=1 -XX:PermSize=128m > -XX:MaxPermSize=256m -server/-Xms4g -Xmx4g -XX:NewRatio=1 -server/' > /etc/sysconfig/graylog-server > > I increased from 1G to 4G here. > > On Wednesday, April 15, 2015 at 6:42:40 AM UTC-7, Alejandro Cabrera Obed > wrote: >> >> OK, but how can I increase the heap space in the Node tab of the graylog >> web intrerface??? >> >> Because I see this message: >> >> "The JVM is using *764 of 972 MB* heap space and will not attempt to use >> more than *972 MB"* >> >> *Is it possible to grow up from 972 MB to 4 GB ??? How ???* >> >> *Thanks* >> >> 2015-04-15 4:54 GMT-03:00 Jochen Schalanda <[email protected]>: >> >>> Hi Alejandro, >>> >>> starting with Graylog 1.0.0, incoming messages are always written to the >>> disk journal (which is generally a good thing). You can disable the disk >>> journal entirely (see >>> https://github.com/Graylog2/graylog2-server/blob/1.0.1/misc/graylog2.conf#L245-246), >>> >>> but I would not recommend doing this. >>> >>> Do you see any problems with your current Graylog setup? >>> >>> >>> Cheers, >>> Jochen >>> >>> >>> On Tuesday, 14 April 2015 21:29:24 UTC+2, Alejandro Cabrera Obed wrote: >>>> >>>> People, in my graylog server I have a lot of incoming logs and in the >>>> Node tab of Graylog web (version 1.0.1) I can see too many processing >>>> messages and the processing status bar is always near the maximum. >>>> >>>> How can I increase the JVM heap space in order to avoid journaling??? >>>> At the moment the JVM heap space is 972 MB. >>>> >>>> Thanks a lot, >>>> >>>> Alejandro >>>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "graylog2" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/graylog2/Srt7uXJDdpY/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Alejandro Cabrera Obed >> [email protected] >> >> >> -- You received this message because you are subscribed to the Google Groups "graylog2" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
