- nebula 版本:3.2
- 部署方式:分布式
- 安装方式:源码编译
- 是否上生产环境:Y
- 硬件信息
- 磁盘( 推荐使用 SSD)1T ssd
- CPU、内存信息 32c64G
- 问题的具体描述
使用了nebula-go 3.8.0版本的session池,sessionPool创建了7个,每个sessionPool MaxPool设置为64,sessionPool的配置为{“min_pool”:32,“max_pool”:64,“idle_timeout”:3600,“timeout”:2000},max_sessions_per_ip_per_user设置为500。为什么还会出现max_sessions_per_ip_per_user达到上限的错误。
error: failed to create a new session: Create Session failed: Too many sessions created from ::ffff:xxx by user xxx. the threshold is 500. You can change it by modifying ‘max_sessions_per_ip_per_user’ in nebula-graphd.conf
1、不存在多次重启
2、一个机器只部署了一个应用
3、日志先报i/o timeout错误,再出现max_sessions_per_ip_per_user达到上限的错误。
a.error: failed to create a new session: authentication fails, read tcp xxx:40190->xxx:9669: i/o timeout
b.error: failed to create a new session: Create Session failed: Too many sessions created from ::ffff:xxx by user xxx. the threshold is 500. You can change it by modifying ‘max_sessions_per_ip_per_user’ in nebula-graphd.conf