Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

容器卡死重启后,启动失败 #121

Open
mojerro opened this issue Nov 26, 2022 · 10 comments
Open

容器卡死重启后,启动失败 #121

mojerro opened this issue Nov 26, 2022 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@mojerro
Copy link

mojerro commented Nov 26, 2022

Describe the bug
容器卡死无响应,直接重启容器启动失败,并产生如下日志

Server started.
ParseJson skipping enable_ha : false
ParseJson skipping license : /var/lib/lgraph/fma.lic
Listening for RPC on port 9090
Server hit an exception and shuts down abnormally:
KvException: Failed to apply logs, unexpected TXN_BEGIN
Server shutdown.
ParseJson skipping enable_ha : false
ParseJson skipping license : /var/lib/lgraph/fma.lic
Listening for RPC on port 9090
Server hit an exception and shuts down abnormally:
KvException: Failed to apply logs, unexpected TXN_BEGIN
Server shutdown.

Environment:

@KingSkyLi
Copy link

请问,卡死前的操作可以简单描述一下吗?我们好进行复现,定位问题原因。

@mojerro
Copy link
Author

mojerro commented Nov 29, 2022

一般卡死是出现在查询语句过大,比如直接运行

match (n) return n

@mojerro
Copy link
Author

mojerro commented Nov 29, 2022

目前还出现一个问题,就是我关电脑之后,另一个容器也出现这个报错无法启动了。可能不是卡死的问题,是不是非正常关闭会导致日志落盘不正常,然后出现这个问题

@mojerro
Copy link
Author

mojerro commented Nov 29, 2022

感觉是,关闭容器后,有概率出现上面错误,然后再也打不开,,

@KingSkyLi
Copy link

好的,我们复现一下看看

@idb-root
Copy link

idb-root commented Dec 8, 2022

挂载原来的数据盘到/var/lib/lgraph目录下,启动报错如下,是一样的错误。
注:只要挂载数据盘到/var/lib/lgraph就报这个错。不挂载,可以正常启动。
ParseJson skipping enable_ha : false
ParseJson skipping license : /var/lib/lgraph/fma.lic
Listening for RPC on port 9090
Server hit an exception and shuts down abnormally:
KvException: Failed to apply logs, unexpected TXN_BEGIN
Server shutdown.

@mojerro
Copy link
Author

mojerro commented Dec 8, 2022

挂载原来的数据盘到/var/lib/lgraph目录下,启动报错如下,是一样的错误。 注:只要挂载数据盘到/var/lib/lgraph就报这个错。不挂载,可以正常启动。 ParseJson skipping enable_ha : false ParseJson skipping license : /var/lib/lgraph/fma.lic Listening for RPC on port 9090 Server hit an exception and shuts down abnormally: KvException: Failed to apply logs, unexpected TXN_BEGIN Server shutdown.

不挂载不就相当于数据丢失了 😭

@idb-root
Copy link

ParseJson skipping enable_ha : false
ParseJson skipping license : /var/lib/lgraph/fma.lic
Listening for RPC on port 9090
Server hit an exception and shuts down abnormally:
KvException: Failed to apply logs, unexpected TXN_BEGIN
Server shutdown.

这个错误有原因了吗?原来的数据盘挂载即报这个错。

@mojerro
Copy link
Author

mojerro commented Dec 17, 2022

@KingSkyLi 请问官方定位这个问题了吗,比较致命,本地都不敢试用了

@KingSkyLi
Copy link

可先尝试一下再mac或直接使用Ubuntu系统下使用docker进行尝试,初步定位有可能是window上的wsl对于docker的兼容问题。

@qishipengqsp qishipengqsp added the bug Something isn't working label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants