druid安装出现的问题

问题

Cannot lock svdir, maybe another 'supervise' is running: /opt/druid

产生原因

看druid系统日志的时候用的是ctrl+z挂起,应该用ctrl+c退出,导致tail命令一直使用着日志,所以无法启动

解决方法,查看druid进程后 kill -9 pid 即可

ps -ef |grep druid

 

问题

Not enough direct memory.  Please adjust -XX:MaxDirectMemorySize, druid.processing.buffer.sizeBytes, druid.processing.numThreads, or druid.processing.numMergeBuffers: maxDirectMemory[259,522,560], memoryNeeded[5,368,709,120] = druid.processing.buffer.sizeBytes[536,870,912] * (druid.processing.numMergeBuffers[2] + druid.processing.numThreads[7] + 1)

解决方法

在data和query的相关目录下的runtime.properties中修改

druid.processing.buffer.sizeBytes=25600000
druid.processing.numThreads=2

 

你可能感兴趣的:(druid)