You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/03/21 07:32:31 UTC

[GitHub] [incubator-druid] ans76 opened a new issue #7310: Not enough direct memory (peon)

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org