When I enable G1GC, Elasticsearch won't stay running for more than a few
minutes. When it dies, nothing is output in the logs. All I see is an
entry in syslog:
init: elasticsearch main process (17253) terminated with status 134
Here are my G1 settings:
I've also tried 50/100 (pause/interval).
My Java version:
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
I'm running on EC2, using a cluster of 4 m1.xlarge with 5 gb allocated to
Elasticsearch and mlockall true.
The workload is distributed bulk indexing. I have 600 processes each in a
loop, submitting bulk index requests of 200 documents at a time.
As a side note, if I use UseParNewGC and UseConcMarkSweepGC, eventually I
get stop-the-world pauses (of ~5s) every few seconds on each node. Which
renders the cluster useless.
How can I get G1 to work? Or how can I stop CMS from stopping the world
several times per minute?
Thank for the help.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.