[erlang-questions] epgsql queue empty errors

Roberto Ostinelli roberto@REDACTED
Thu Dec 3 16:37:06 CET 2015


All,
I'm often seeing CRASH reports of epgsql queue empty:

CRASH REPORT Process <0.4709.0> with 0 neighbours exited with reason:
{empty,[{queue,get,[{[],[]}],[{file,"queue.erl"},{line,183}]},{epgsql_sock,command_tag,1,[{file,"src/epgsql_sock.erl"},{line,409}]},{epgsql_sock,on_message,2,[{file,"src/epgsql_sock.erl"},{line,684}]},{epgsql_sock,loop,1,[{file,"src/epgsql_sock.erl"},{line,334}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,681}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
in gen_server:terminate/7 line 826

These all happen in epgsql_sock here:
https://github.com/epgsql/epgsql/blob/3.1.1/src/epgsql_sock.erl#L409

Has anyone seen this behavior and has more insights to share?

Best,
r.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151203/c5de5294/attachment.htm>


More information about the erlang-questions mailing list