Slackbot
02/22/2023, 7:18 PMSergio Ferragut
02/22/2023, 10:17 PMVineeth
02/23/2023, 6:18 AMdruid.indexer.runner.javaOpts=-server -Xmx3g -Daws.region={{region}} -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps
worker.capacity = 7 [1 cpu per worker] per node
Total No of MM = 5 [35 workers in total]Sergio Ferragut
02/23/2023, 7:08 PM-Xms3g (recommended to be set the same as -Xmx ) and -XX:MaxDirectMemorySize=3g set this based on
(druid.processing.numThreads + druid.processing.numMergeBuffers + 1) * druid.processing.buffer.sizeBytes
What version are you on? I believe you are hitting this issue: https://github.com/apache/druid/issues/11414
There are significant improvements on this included in 25.0:
1. https://github.com/apache/druid/pull/13328 -- Optimize the metadata calls
2. https://github.com/apache/druid/pull/13334 -- Do not queue more than one run notice at a time.
3. https://github.com/apache/druid/pull/13354 -- Contacts tasks asynchronously, eliminate chat threads and reduce the load on worker threads.
4. https://github.com/apache/druid/pull/13369 -- to speed up segment allocation and reduce metadata calls by clubbing the multiple requests together.Vijay Narayanan
02/23/2023, 11:58 PMVijay Narayanan
02/24/2023, 12:06 AMGian Merlino
03/01/2023, 2:53 AMGian Merlino
03/01/2023, 2:53 AMGian Merlino
03/01/2023, 2:54 AMGian Merlino
03/01/2023, 2:54 AMtaskCount (so you can have both old/new sets running at once during publish)