1

通常,当我的 Erlang 应用程序通过 启动时run_erl -daemon,我会在日志中看到:

=====
===== LOGGING STARTED Mon May 16 14:39:11 UTC 2011
=====
Exec: /mware/erts-5.8.3/bin/erlexec -boot /mware/releases/1/gmcontroller -embedded -config /mware/etc/app.config -args_file /mware/etc/vm.args -- console
Root: /mware
heart_beat_kill_pid = 2302

Eshell V5.8.3  (abort with ^G)

(gmcontroller@127.0.0.1)1> 
===== ALIVE Mon May 16 14:54:34 UTC 2011

===== ALIVE Mon May 16 15:09:35 UTC 2011

===== ALIVE Mon May 16 15:24:36 UTC 2011

...

但是,有一次我有

=====
===== LOGGING STARTED Mon May 16 19:48:14 UTC 2011
=====
Exec: /mware/erts-5.8.3/bin/erlexec -boot /mware/releases/1/gmcontroller -embedded -config /mware/etc/app.config -args_file /mware/etc/vm.args -- console
Root: /mware
heart_beat_kill_pid = 2217

没有提示,也没有===== ALIVE ...消息,直到重新启动计算机。这种行为是否有任何已知原因?我自己怀疑是文件系统有问题。

4

1 回答 1

1

/tmp/ 下是否有旧的和无效的命名管道?可能是重新启动清除了您的 /tmp/ 目录,这就是它现在可以工作的原因。

于 2011-05-25T18:52:01.247 回答