ans76 opened a new issue #7310: Not enough direct memory (peon)
URL: https://github.com/apache/incubator-druid/issues/7310
 
 
   `2019-03-21T14:59:22,371 INFO [main] org.apache.druid.cli.CliPeon - Starting 
up with processors[8], memory[324,534,272], maxMemory[3,817,865,216].
   
   1) Not enough direct memory.  Please adjust -XX:MaxDirectMemorySize, 
druid.processing.buffer.sizeBytes, druid.processing.numThreads, or 
druid.processing.numMergeBuffers: maxDirectMemory[3,817,865,216], 
memoryNeeded[10,737,418,240] = druid.processing.buffer.sizeBytes[1,073,741,824] 
* (druid.processing.numMergeBuffers[2] + druid.processing.numThreads[7] + 1)`
   
   change the settings in MiddleManager `runtime.properties` but didn't fix it
   
   `druid.service=druid/middleManager
   druid.plaintextPort=8091
   
   # Number of tasks per middleManager
   druid.worker.capacity=3
   
   # Task launch parameters
   druid.indexer.runner.javaOpts=-server -Xmx4g -Duser.timezone=Asia/Shanghai 
-Dfile.encoding=UTF-8 
-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager 
-Dhadoop.mapreduce.job.classloader=true -XX:MaxDirectMemorySize=4G
   druid.indexer.task.baseTaskDir=var/druid/task
   
   # HTTP server threads
   druid.server.http.numThreads=3
   
   # Processing threads and buffers on Peons
   #druid.indexer.fork.property.druid.processing.buffer.sizeBytes=256000000
   #druid.indexer.fork.property.druid.processing.numThreads=2
   
   # Hadoop indexing
   druid.indexer.task.hadoopWorkingPath=var/druid/hadoop-tmp
   
druid.indexer.task.defaultHadoopCoordinates=["org.apache.hadoop:hadoop-client:2.7.1"]
   
   
   #druid.emitter=logging
   
#druid.monitoring.monitors=["org.apache.druid.segment.realtime.RealtimeMetricsMonitor"]
   
   #druid.emitter.logging.logLevel=debug
   
   druid.processing.buffer.sizeBytes=100000000
   druid.processing.numMergeBuffers=2
   druid.processing.numThreads=2`
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to