After about 24 to 36 hours the heap is full on the 7 nodes in our
elasticsearch cluster. Old generation space is full, and collection times
spike up to 25+ second pauses.
Do y'all have any JVM tuning recommendations?
i.e. -
[2013-10-14 10:19:05,058][WARN ][monitor.jvm ] [node4]
[gc][ConcurrentMarkSweep][248210][3] duration [25.5s], collections
[1]/[26.3s], total [25.5s]/[25.7s], memory [13gb]->[12.9gb]/[15.9gb],
all_pools {[Code Cache] [11.9mb]->[11.9mb]/[48mb]}{[Par Eden Space]
[125.7mb]->[3.4mb]/[382.7mb]}{[Par Survivor Space] [47.8mb]->[0b]/[47.8mb]}{[CMS
Old Gen] [12.8gb]->[12.8gb]/[15.5gb]}{[CMS Perm Gen]
[41.8mb]->[41.3mb]/[84mb]}
[2013-10-17 07:24:53,816][INFO ][monitor.jvm ] [node6]
[gc][ConcurrentMarkSweep][90318][48] duration [6s], collections [1]/[6.3s],
total [6s]/[5.1m], memory [15.7gb]->[15.4gb]/[15.9gb], all_pools {[Code
Cache] [12.2mb]->[12.2mb]/[48mb]}{[Par Eden Space]
[227.7mb]->[294kb]/[382.7mb]}{[Par Survivor Space] [47.8mb]->[0b]/[47.8mb]}{[CMS
Old Gen] [15.5gb]->[15.4gb]/[15.5gb]}{[CMS Perm Gen]
[41.1mb]->[41.1mb]/[84mb]}
Java settings:
-Xms16384m -Xmx16384m -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC
-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError
Heap details:
- JVM version is 17.0-b16
- using parallel threads in the new generation.
- using thread-local object allocation.
- Concurrent Mark-Sweep GC
- Heap Configuration:
- MinHeapFreeRatio = 40
- MaxHeapFreeRatio = 70
- MaxHeapSize = 17179869184 (16384.0MB)
- NewSize = 21757952 (20.75MB)
- MaxNewSize = 501612544 (478.375MB)
- OldSize = 65404928 (62.375MB)
- NewRatio = 7
- SurvivorRatio = 8
- PermSize = 21757952 (20.75MB)
- MaxPermSize = 88080384 (84.0MB)
- Heap Usage:
- New Generation (Eden + 1 Survivor Space):
- capacity = 451477504 (430.5625MB)
- used = 429000296 (409.1265640258789MB)
- free = 22477208 (21.435935974121094MB)
- 95.02141129937672% used
- Eden Space:
- capacity = 401342464 (382.75MB)
- used = 390832008 (372.72644805908203MB)
- free = 10510456 (10.023551940917969MB)
- 97.38117519505735% used
- From Space:
- capacity = 50135040 (47.8125MB)
- used = 38168288 (36.400115966796875MB)
- free = 11966752 (11.412384033203125MB)
- 76.130961499183% used
- To Space:
- capacity = 50135040 (47.8125MB)
- used = 0 (0.0MB)
- free = 50135040 (47.8125MB)
- 0.0% used
- concurrent mark-sweep generation:
- capacity = 16678256640 (15905.625MB)
- used = 16592262064 (15823.614181518555MB)
- free = 85994576 (82.01081848144531MB)
- 99.48439109760575% used
- Perm Generation:
- capacity = 74588160 (71.1328125MB)
- used = 43132472 (41.13433074951172MB)
- free = 31455688 (29.99848175048828MB)
- 57.827505062465676% used
- JVM stats:
Heap Used:15.6gbHeap Committed:15.9gbNon Heap Used:53.4mbNon Heap
Committed:83.6mbJVM Uptime:25 hours, 24 minutes, 13 secondsThread
Count/Peak:1744 / 1751GC Count:22343GC Time:17 minutes, 55 seconds and
739 millisecondsJava Version:1.6.0_21JVM Vendor:Sun Microsystems Inc.JVM:Java
HotSpot(TM) 64-Bit Server VM
- Indices stats:
- Documents:3220688140Documents Deleted:0Store Size:1528.2gbIndex Req
Total:337592403Delete Req Total:0Get Req Total:0Get(Exists) Total:0Get(Missing)
Total:0Query Total:52895Fetch Total:4136
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.