[
https://issues.apache.org/jira/browse/IOTDB-5142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644590#comment-17644590
]
Xingyu Liu commented on IOTDB-5142:
-----------------------------------
推荐解决方法:可以检查一下使用到的session是否都及时关闭了,比如如果每天0点程序会自动结束,然而忘了在结束前关闭session,就会导致这种报错。可以尝试使用go语言里面的defer
关键词来在主函数结束时,自动执行关闭session的操作
> go-client connection reset problem
> ----------------------------------
>
> Key: IOTDB-5142
> URL: https://issues.apache.org/jira/browse/IOTDB-5142
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Client/Others
> Reporter: Xingyu Liu
> Assignee: Xingyu Liu
> Priority: Major
> Attachments: image-2022-12-08-11-07-55-398.png,
> image-2022-12-08-11-09-00-848.png, image-2022-12-08-11-09-05-286.png
>
>
> 现在有台服务器大量报连接重置
> !image-2022-12-08-11-07-55-398.png!
> !image-2022-12-08-11-09-00-848.png!
> !image-2022-12-08-11-09-05-286.png!
> 问题:go client会在每天0点左右重连,但是其中zoneId参数为空,前几天是0点左右,刚发现了9点也有一条,看来和时间无关
--
This message was sent by Atlassian Jira
(v8.20.10#820010)