erlang-supervisor
How to find the supervisor of an OTP process?
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[详细]
2023-01-23 23:32 分类:问答Automatically restarting Erlang applications
I recently ran into a bug where an entire Erlang application died, yielding a log message that looked like this:[详细]
2023-01-03 12:30 分类:问答Erlang Supervisor Strategy For Restarting Connections to Downed Hosts
I\'m using erlang as a bridge between services and I was wondering what advice people had for handling downed connections?[详细]
2023-01-02 11:11 分类:问答erlang OTP Supervisor crashing
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[详细]
2022-12-29 20:28 分类:问答Cannot spawn an erlang supervisor from the shell
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[详细]
2022-12-29 17:25 分类:问答Erlang: cascaded supervisors?
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[详细]
2022-12-13 06:15 分类:问答