为什么 Phoenix / Elixir / Erlang 崩溃了?
Why Phoenix / Elixir / Erlang crashed?
这不是内存不足错误,不知道为什么会崩溃。 erl_crash.dump
表示:
Slogan: Kernel pid terminated (application_controller) ({application_start_failure,myapp,{{shutdown,{failed_to_start_child,'Elixir.Myapp.Endpoint',{shutdown,{failed_to_start_child,'Elixir.Phoenix.Endp
System version: Erlang/OTP 18 [erts-7.3] [source-d2a6d81] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]
Compiled: Mon Mar 14 19:34:48 2016
Taints: crypto
Atoms: 15257
Calling Thread: scheduler:1
应用程序本身在单个进程中使用 zlib(来自 OTP)压缩了数百万个短字符串。
以下来自 Erlang Dump Viewer 的几个屏幕
如错误所述:应用程序无法启动 Elixir.Myapp.Endpoint
。在端点的情况下,最常见的原因是某些东西已经在该端口上侦听(可能是同一应用程序的另一个实例?)。具体情况会有所不同,具体取决于特定 OTP 进程无法正确启动的确切原因。
这不是内存不足错误,不知道为什么会崩溃。 erl_crash.dump
表示:
Slogan: Kernel pid terminated (application_controller) ({application_start_failure,myapp,{{shutdown,{failed_to_start_child,'Elixir.Myapp.Endpoint',{shutdown,{failed_to_start_child,'Elixir.Phoenix.Endp
System version: Erlang/OTP 18 [erts-7.3] [source-d2a6d81] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]
Compiled: Mon Mar 14 19:34:48 2016
Taints: crypto
Atoms: 15257
Calling Thread: scheduler:1
应用程序本身在单个进程中使用 zlib(来自 OTP)压缩了数百万个短字符串。
以下来自 Erlang Dump Viewer 的几个屏幕
如错误所述:应用程序无法启动 Elixir.Myapp.Endpoint
。在端点的情况下,最常见的原因是某些东西已经在该端口上侦听(可能是同一应用程序的另一个实例?)。具体情况会有所不同,具体取决于特定 OTP 进程无法正确启动的确切原因。