Comments (9)
4GB太低了,不满足的,还要安装如Mongodb/Redis以及内部很多组件,系统还会占用一部分内存。麻烦按部署文档中的最低配置8C16G 200G来进行测试哈
改成16G后正常了,多谢
from elkeid.
先不要卸载其他模块,看下 systemctl status elkeid_ac
与 journalctl -fxu elkeid_ac
是否有明显报错 ,以及agent center日志:/elkeid/agent_center/log/ 下的 sarama.log svr.log
from elkeid.
systemctl status elkeid_ac
journalctl -fxu elkeid_ac
an 24 09:05:18 server agent_center[37740]: {"level":"error","ts":1643015118.900328,"msg":"KAFKA","info":"NewClient error:kafka: client has run out of available brokers to talk to (Is your cluster reachable?)"}
Jan 24 09:05:18 server agent_center[37740]: #### [192.168.186.135:9092] hids_svr CONNECT_KAFKA_ERROR: kafka: client has run out of available brokers to talk to (Is your cluster reachable?){"level":"fatal","ts":1643015118.900348,"msg":"InitComponents","info":"[192.168.186.135:9092] hids_svr CONNECT_KAFKA_ERROR: kafka: client has run out of available brokers to talk to (Is your cluster reachable?)"}
Jan 24 09:05:18 server systemd[1]: elkeid_ac.service: Main process exited, code=exited, status=1/FAILURE
看着是kafka的连接问题
from elkeid.
- 排查下kafka状态是否正常。 systemctl status elkeid_kafka 与 /elkeid/kafka/kafka_2.13-2.7.0/logs
- 排查下是否存在网络策略导致无法连接到kafka
from elkeid.
- 排查下kafka状态是否正常。 systemctl status elkeid_kafka 与 /elkeid/kafka/kafka_2.13-2.7.0/logs
- 排查下是否存在网络策略导致无法连接到kafka
2022-01-24 09:28:51,730] ERROR [KafkaServer id=0] Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
java.lang.OutOfMemoryError: Java heap space
at java.base/java.nio.HeapByteBuffer.(HeapByteBuffer.java:64)
at java.base/java.nio.ByteBuffer.allocate(ByteBuffer.java:363)
at kafka.log.SkimpyOffsetMap.(OffsetMap.scala:45)
at kafka.log.LogCleaner$CleanerThread.(LogCleaner.scala:300)
at kafka.log.LogCleaner.$anonfun$startup$2(LogCleaner.scala:155)
at kafka.log.LogCleaner.startup(LogCleaner.scala:154)
at kafka.log.LogManager.startup(LogManager.scala:435)
at kafka.server.KafkaServer.startup(KafkaServer.scala:291)
at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:44)
at kafka.Kafka$.main(Kafka.scala:82)
at kafka.Kafka.main(Kafka.scala)
这个kafka的配置在哪里改呢?
from elkeid.
目前这个版本没办法手动修改的,只能依赖elkeidup根据机器free自动取,大概逻辑是取当前free的50%。请问测试机器内存多大呢
from elkeid.
目前这个版本没办法手动修改的,只能依赖elkeidup根据机器free自动取,大概逻辑是取当前free的50%。请问测试机器内存多大呢
4GB
from elkeid.
或者也可以部署完kafka后手动修改/etc/systemd/system/elkeid_kafka.service 中的KAFKA_HEAP_OPTS信息,不过要快。。
from elkeid.
4GB太低了,不满足的,还要安装如Mongodb/Redis以及内部很多组件,系统还会占用一部分内存。麻烦按部署文档中的最低配置8C16G 200G来进行测试哈
from elkeid.
Related Issues (20)
- rasp jvm版本支持问题 HOT 1
- tlinux24 docker批量编译部分ko编译失败 HOT 3
- 集群导入出现异常the server has asked for the client to provide credentials
- Bug: Possible Channel Blocking Operation
- KO运行异常或丢失的信息未上报或展示 HOT 1
- 安装kafka时报错 HOT 1
- 执行病毒扫描过程中进度一直是0 HOT 2
- 怎么理解 agent 和 server/agent_center 下面的grpc.proto 风格不一样 HOT 2
- LKM驱动中rename或link后新路径获取异常
- agent采集不到执行的命令
- agent安装部署下载改为https HOT 2
- 什么时候能支持多一点系统呢
- docker部署报错
- ubuntu 6.5.0及以上版本ko编译错误
- driver compile failed on 5.4.250-1.el7.elrepo.x86_64 HOT 2
- 什么时候支持从前端删除离线机器
- Docker 部署时,agent init 报错。
- 容器集群-安全组件安装问题 HOT 8
- 8089端口命名有误
- Redis部署报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elkeid.