UseParNewGC disappeared in Graylog 3.2

Hello,

I’m updating from 3.0 to 3.2.6 and it seems the java parameter UseParNewGC has been removed from the GRAYLOG_SERVER_JAVA_OPTS variable in the file /etc/sysconfig/graylog-server.
Do you know why ?

It seems to be a good parameter to improve GC on multi-CPU systems : https://stackoverflow.com/questions/2101518/difference-between-xxuseparallelgc-and-xxuseparnewgc

Hey @frantz, are you saying it doesn’t work at all anymore or just that it has been removed from the default configuration file? If it’s just no longer in the default config file (but works if you add it) it might be possible to track that change down with a changelog message on GitHub to see why it was removed from the default config. If it doesn’t work at all anymore even if in the config file you could try specifying the parameter on the JVM config instead of the Graylog server conf. If that doesn’t work, perhaps the functionality is no longer available.

It’s working well I’m just wondering why it has been removed from the default configuration file.
I think I’ve found the reason: it’s deprecated in java 8 and removed in java 9: https://github.com/Graylog2/graylog2-server/commit/1e0ed41d87cd525d2da3b9c5b0dfbed71d100cfb

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.