Create Session failed: Too many sessions created from 172.21.0.1 by user root. the threshold is 300. You can change it by modifying ‘max_sessions_per_ip_per_user’ in nebula-graphd.conf

  • nebula 版本:3.5.0
  • 部署方式: 分布式
  • 安装方式: RPM
  • 是否上生产环境:Y

开发环境跑一个任务就一个session,但是测试环境跑一个sessions有好几千个sessions. 都是报错。

:thinking: 你有按照报错提示,修改 nebula-graphd 中的 max_sessions_per_ip_per_user 参数么

1 个赞

You can change it by modifying ‘max_sessions_per_ip_per_user’ in nebula-graphd.conf

其实这个报错的字面意思就指向了办法,在 graphd 配置中配置 max_sessions_per_ip_per_user 为足够的值,缺省是 300

https://docs.nebula-graph.com.cn/3.6.0/5.configurations-and-logs/1.configurations/3.graph-config/#session

有这个提示,问题是为什么一个任务会有这么多sessions,这不正常。

会不会是 session 申请之后没有合理释放?

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。