Hello,
I've tried to follow this step https://discuss.elastic.co/t/elasticsearch-logs-are-getting-piled-up-in-var-log-elasticsearch-path-how-to-cater-to-this-problem/186039 to do the log rotation but when I tried to restart the elasticsearch It cannot start anymore.
Please hep. Thank you. I'm not really sure what to do since I just followed the steps given.
Oct 27 11:26:26 - systemd-entrypoint[3571565]: Error: Could not create the Java Virtual Machine.
Oct 27 11:26:26 - systemd-entrypoint[3571565]: Error: A fatal exception has occurred. Program will exit.
Oct 27 11:26:26 - systemd-entrypoint[3571565]: at org.elasticsearch.tools.launchers.JvmOption.flagsFinal(JvmOption.java:119)
Oct 27 11:26:26 - systemd-entrypoint[3571565]: at org.elasticsearch.tools.launchers.JvmOption.findFinalOptions(JvmOption.java:81)
Oct 27 11:26:26 - systemd-entrypoint[3571565]: at org.elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:38)
Oct 27 11:26:26 - systemd-entrypoint[3571565]: at org.elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:135)
Oct 27 11:26:26 - systemd-entrypoint[3571565]: at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:86)