Elasticsearch: OpenJDK 64-Bit Server VM warning

i hava a quesstion for it,when i have install x-pack6.0 and add
"action.auto_create_index: .security,.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*"=>/etc/elasticsearch/elasticsearch.yml
/usr/share/elasticsearch/bin/elasticsearch-plugin install x-pack

it's log of error,thanks

Nov 28 23:42:27 nginx systemd: Started Elasticsearch.
Nov 28 23:42:27 nginx systemd: Starting Elasticsearch...
Nov 28 23:42:28 nginx elasticsearch: OpenJDK 64-Bit Server VM warning: If the number of 
processors is expected to increase from one, then you should configure the number of parallel GC 
threads appropriately using -XX:ParallelGCThreads=N

Nov 28 23:43:06 nginx elasticsearch: 2017-11-28 23:43:06,730 main ERROR IfAccumulatedFileSize 
contains an invalid element or attribute "age"
Nov 28 23:43:32 nginx systemd: elasticsearch.service: main process exited, code=exited, 
Nov 28 23:43:32 nginx systemd: Unit elasticsearch.service entered failed state.
Nov 28 23:43:32 nginx systemd: elasticsearch.service failed.

Please see: https://github.com/elastic/elasticsearch/issues/22245. You can disable this by adding -XX:-AssumeMP to counteract the upstream packaging issue from the OpenJDK as explained in the linked issue.

1 Like

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