- nebula版本:1.2.0
nebula cpp客户端长时间未使用出现 failed,error:Session 4489
has expired 异常,这个如何解决
nebula cpp客户端长时间未使用出现 failed,error:Session 4489
has expired 异常,这个如何解决
可以设置服务端的 session 过期时间为不过期,对应的参数见配置:
2.0.1 版本 设置 --session_idle_timeout_secs=0 后 也过期了 正常吗?我要如何操作 才能保证session永不过期呢?
报什么错误
root@nebula01:/usr/local/nebula/logs# tail -f nebula-graphd.ERROR
E0510 11:30:00.101330 4993 GraphService.cpp:81] Session not found, id[1264]
E0510 11:30:00.987329 4993 GraphService.cpp:81] Session not found, id[1264]
E0510 11:37:51.974526 4993 GraphService.cpp:81] Session not found, id[1265]
E0510 11:38:18.702320 4993 GraphService.cpp:81] Session not found, id[1264]
E0510 11:38:19.586937 4993 GraphService.cpp:81] Session not found, id[1265]
E0510 11:38:20.486608 4993 GraphService.cpp:81] Session not found, id[1264]
E0510 11:38:23.177562 4993 GraphService.cpp:81] Session not found, id[1265]
E0510 11:38:28.651443 4993 GraphService.cpp:81] Session not found, id[1265]
E0510 11:38:29.971087 4993 GraphService.cpp:81] Session not found, id[1264]
E0510 11:38:35.675976 4993 GraphService.cpp:81] Session not found, id[1265]
用http接口看一下session_idle_timeout_secs的值是不是0
请问如何看啊 http url是多少呢
这个? 我试试
返回值 root@nebula01:/usr/local/nebula/scripts# curl “http://172.31.36.xxx:19779/flags?flags=session_idle_timeout_secs”
session_idle_timeout_secs=nullptr
这个不正常吧?
你连错端口了,这个不是graph的端口
cool
curl “http://172.31.36.xx:19669/flags?flags=session_idle_timeout_secs”
session_idle_timeout_secs=0
是不是链接了不同graphd,或者graphd重启过
我配错了 有2台 从product文件copy过去的 有一台从default文件copy过去的 有点点不一样
请问 设置session不过期会不会导致未正常关闭的服务持续消耗资源