Coco-annotator 服务器意外崩溃
Coco-annotator server crashes unexpectedly
我运行coco-annotator在GCP上的一个专用e2-micro
实例里,一开始运行很顺利,最近经常挂,不仅注释 url 变得不可访问,而且整个虚拟机!我需要在 GCP 上手动停止和启动实例。
我检查了 docker-compose
日志,这些是机器挂起前的最后日志:
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> ** Generic server aten_detector terminating
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> ** Last message in was poll
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> ** When Server state == {state,#Ref<0.2293947595.4227596289.176964>,5000,0.99,
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> #{},#{}}
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> ** Reason for termination ==
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> ** {{timeout,{gen_server,call,[aten_sink,get_failure_probabilities]}},
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> [{gen_server,call,2,[{file,"gen_server.erl"},{line,239}]},
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> {aten_detector,handle_info,2,[{file,"src/aten_detector.erl"},{line,109}]},
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,695}]},
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> {gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,771}]},
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0>
annotator_message_q | 2022-04-19 19:09:18.480362+00:00 [erro] <0.183.0> crasher:
问题似乎与 rabbitmq
有关,但我对此知之甚少。谁能指出问题出在哪里?
提前致谢。
所以,既然出现了这个问题,我就换了一台更大的机器。之前是1GB RAM,现在是4GB机器中的运行,从那以后我就没有遇到过这个问题。 This github 上的问题似乎也表明这是问题所在。
我运行coco-annotator在GCP上的一个专用e2-micro
实例里,一开始运行很顺利,最近经常挂,不仅注释 url 变得不可访问,而且整个虚拟机!我需要在 GCP 上手动停止和启动实例。
我检查了 docker-compose
日志,这些是机器挂起前的最后日志:
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> ** Generic server aten_detector terminating
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> ** Last message in was poll
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> ** When Server state == {state,#Ref<0.2293947595.4227596289.176964>,5000,0.99,
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> #{},#{}}
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> ** Reason for termination ==
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> ** {{timeout,{gen_server,call,[aten_sink,get_failure_probabilities]}},
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> [{gen_server,call,2,[{file,"gen_server.erl"},{line,239}]},
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> {aten_detector,handle_info,2,[{file,"src/aten_detector.erl"},{line,109}]},
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,695}]},
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> {gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,771}]},
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0> {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}
annotator_message_q | 2022-04-19 19:09:16.735303+00:00 [erro] <0.183.0>
annotator_message_q | 2022-04-19 19:09:18.480362+00:00 [erro] <0.183.0> crasher:
问题似乎与 rabbitmq
有关,但我对此知之甚少。谁能指出问题出在哪里?
提前致谢。
所以,既然出现了这个问题,我就换了一台更大的机器。之前是1GB RAM,现在是4GB机器中的运行,从那以后我就没有遇到过这个问题。 This github 上的问题似乎也表明这是问题所在。