Hi, my lines conf now:
/etc/sysconfig/graylog-server
GRAYLOG_SERVER_JAVA_OPTS="-Xms1g -Xmx1g -XX:NewRatio=1 -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEna$
/etc/elasticsearch/jvm.options
# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space
-Xms10g
-Xmx10g
My log:
tail -f /var/log/elasticsearch/graylog.log
[2017-12-19T22:12:22,847][INFO ][o.e.c.s.ClusterService ] [-QunLnS] new_master {-QunLnS}{-QunLnS0QWuf7MWifYoJzA}{eGw1d8_TQOSr_iFyBDQVvA}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
[2017-12-19T22:12:22,915][INFO ][o.e.h.n.Netty4HttpServerTransport] [-QunLnS] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2017-12-19T22:12:22,916][INFO ][o.e.n.Node ] [-QunLnS] started
[2017-12-19T22:12:23,199][INFO ][o.e.g.GatewayService ] [-QunLnS] recovered [1] indices into cluster_state
[2017-12-19T22:12:52,552][INFO ][o.e.m.j.JvmGcMonitorService] [-QunLnS] [gc][30] overhead, spent [367ms] collecting in the last [1s]
[2017-12-19T22:14:46,566][INFO ][o.e.m.j.JvmGcMonitorService] [-QunLnS] [gc][young][126][3] duration [758ms], collections [1]/[1.4s], total [758ms]/[1.4s], memory [480.9mb]->[421.3mb]/[9.9gb], all_pools {[young] [397.8mb]->[13.4mb]/[399.4mb]}{[survivor] [49.8mb]->[49.8mb]/[49.8mb]}{[old] [33.2mb]->[358mb]/[9.5gb]}
[2017-12-19T22:14:46,567][WARN ][o.e.m.j.JvmGcMonitorService] [-QunLnS] [gc][126] overhead, spent [758ms] collecting in the last [1.4s]
[2017-12-19T22:15:35,747][INFO ][o.e.c.r.a.AllocationService] [-QunLnS] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[graylog_0][2], [graylog_0][0], [graylog_0][1]] ...]).
[2017-12-19T22:15:55,203][INFO ][o.e.m.j.JvmGcMonitorService] [-QunLnS] [gc][young][186][4] duration [716ms], collections [1]/[1.1s], total [716ms]/[2.1s], memory [785.2mb]->[579.3mb]/[9.9gb], all_pools {[young] [377.2mb]->[1.4mb]/[399.4mb]}{[survivor] [49.8mb]->[49.8mb]/[49.8mb]}{[old] [358mb]->[528.5mb]/[9.5gb]}
[2017-12-19T22:15:55,203][WARN ][o.e.m.j.JvmGcMonitorService] [-QunLnS] [gc][186] overhead, spent [716ms] collecting in the last [1.1s]
[root@log01 ~]# tail -f /var/log/graylog-server/server.log
at com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:951) ~[graylog.jar:?]
at com.fasterxml.jackson.jaxrs.base.ProviderBase.writeTo(ProviderBase.java:625) ~[graylog.jar:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) ~[graylog.jar:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) ~[graylog.jar:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[graylog.jar:?]
at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106) ~[graylog.jar:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[graylog.jar:?]
at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86) ~[graylog.jar:?]
... 20 more
2017-12-19T22:20:53.791-02:00 INFO [Messages] Bulk indexing finally successful (attempt #2).
tail -f /var/log/graylog-server/server.log
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) ~[graylog.jar:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) ~[graylog.jar:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[graylog.jar:?]
at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106) ~[graylog.jar:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[graylog.jar:?]
at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86) ~[graylog.jar:?]
... 20 more
2017-12-19T22:20:53.791-02:00 INFO [Messages] Bulk indexing finally successful (attempt #2).
2017-12-19T22:26:03.634-02:00 INFO [connection] Opened connection [connectionId{localValue:9, serverValue:9}] to localhost:27017
2017-12-19T22:26:03.650-02:00 INFO [connection] Opened connection [connectionId{localValue:10, serverValue:10}] to localhost:27017
my search still returns no results
Thanks