We apologize that the translated content is not provided to this page.
起因
Kafka无故宕机,查看log发现报错Too Many Open File
处理
- 检查
ulimit -a
,发现open file大小正常,接近内核最大允许/proc/sys/fs/nr_open
的1048576
- 修改kafka参数
num.replica.fetchers
由10改为60,观察效果
笔记
ulimit
-
nr_open
-
num.replica.fetchers