我使用的是带有单个节点的elasticsearch 5.2.2,内存为16GB。有些进程将内容写入elasticsearch,但遇到了这样的错误:
[2017-10-05T21:57:41,550][INFO ][o.e.c.m.MetaDataUpdateSettingsService] [node1] updating number_of_replicas to [0] for indices [abc_ef]
[2017-10-05T21:57:41,551][INFO ][o.e.c.s.IndexScopedSettings] [node1] updating [index.refresh_interval] from [1s] to [-1]
[2017-10-05T21:57:41,551][INFO ][o.e.c.s.IndexScopedSettings] [node1] updating [index.refresh_interval] from [1s] to [-1]
[2017-10-05T21:57:41,677][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [node1] fatal error in thread [elasticsearch[node1][bulk][T#9]], exiting java.lang.StackOverflowError: null
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]
at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) ~[?:1.8.0_121]