Closed DrPandemic closed 7 years ago
It's not an issue with you project, but with one of your dependencies: bunt. We have already encountered similar case, it happens because Bunt kind of breaks OTP compliance and returns application master's PID as if it was top supervisor's PID (see this line). I think that bunt is dependency of Credo, so could you please add runtime: false
option to Credo in you mix.exs
and tell us what happens? 🙂
I've made a PR to Bunt repository, I hope this will solve the issue :)
Good catch @arkgil
Wow, that was a quick diagnostic. So adding the runtime: false
fixed the dashboard/overview page, but the sup-tree
is still indefinitely loading. Also, I still have an error in the log.
Thank you for your time.
=ERROR REPORT==== 11-Apr-2017::10:03:45 ===
** Generic server epl_st terminating
** Last message in was {data,
{'foo@127.0.0.1',{1491,919425,150512}},
... (my app state, like the previous error)
** When Server state == {state,[]}
** Reason for termination ==
** {function_clause,
[{lists,map,
[#Fun<epl_st.1.5273273>,
{'EXIT',
{noproc,
{gen_server,call,[undefined,which_children,infinity]}}}],
[{file,"lists.erl"},{line,1238}]},
{epl_st,generate_sup_tree,1,[{file,"src/epl_st.erl"},{line,99}]},
{lists,map,2,[{file,"lists.erl"},{line,1239}]},
{lists,map,2,[{file,"lists.erl"},{line,1239}]},
{epl_st,generate_sup_tree,1,[{file,"src/epl_st.erl"},{line,105}]},
{epl_st,'-handle_info/2-fun-0-',2,[{file,"src/epl_st.erl"},{line,76}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
{epl_st,handle_info,2,[{file,"src/epl_st.erl"},{line,75}]}]}
=INFO REPORT==== 11-Apr-2017::10:03:45 ===
application: epl_st
exited: shutdown
type: temporary
@DrPandemic first of all, thank you for reporting the issue 👍 You have found a bug which we obviously haven't spotted before. I'll fix this as soon as possible, and we will release version 0.6.1. Thanks once again! ❤️
@DrPandemic the issue is solved now in version 0.6.1 :) Please build from 0.6.1 tag or download new version of prebuilt script. Let us know if that fixed your issue (it should, I've tested it on my machine with your application 😉 ). Cheers!
Yes it all works. Thank you for your swift fix. You rock!
I'm using
I'm currently developing an elixir toy project (https://github.com/DrPandemic/MasDB). When I connect erlanpl to my cluster with
./erlangpl -n foo@127.0.0.1
it generates some errors.In overview memory usage, processes and throughput are indefinitely loading. Same thing for the sup-tree page. The traffic page seems to be working correctly.
I don't know if the problem is from my project. If it's the case, do you know how I could fix it?
This tools looks amazing!
Those are the errors