Are there functions which would allow an OTP process to find the pid开发者_StackOverflow中文版 of its supervisor?The data is hidden in the process dictionary (of any process spawned with proc_lib) und
I recently ran into a bug where an entire Erlang application died, yielding a log message that looked like this:
I\'m using erlang as a bridge between services and I was wondering what advice people had for handling downed connections?
I\'m working through the Erlang documentation, trying to understand the basics of setting up an OTP gen_server and supervisor. Whenever my gen_server crashes, my supervisor crashes as well. In fact, w
I\'ve implemented a gen_server and supervisor: test_server and test_sup. I want to test them from the shell/CLI. I\'ve written their start_li开发者_如何学Pythonnk functions such that their names are r
Is it possible to cascade supervisors inside an application? E.g. supervisor sup1 spawning a child pr开发者_JAVA技巧ocess which creates a supervisor sup2 ?You probably want to add the child as superv