[erlang-questions] problem with global registration

Garry Hodgson garry@REDACTED
Tue Nov 7 20:34:35 CET 2006


"Ulf Wiger \(TN/EAB\)" <ulf.wiger@REDACTED> wrote:

> Where does your global server 'util' start?

the main server process, running on node "main", calls util:start().  
after it's been running a while, happily logging messages, i run the 
other program, with the "-run master debugctrl on".  this runs on
same machine, as node "debug".

> When you call debugctrl() using the -run argument,
> the call will be dispatched pretty early.

but i have the same problem if i run erlang by hand:

    $ erl -sname debug -setcookie keebler 
    Erlang (BEAM) emulator version 5.3.6.3 [source] [hipe] [threads:0]

    Eshell V5.3.6.3  (abort with ^G)
    (debug@REDACTED)1> master:debugctrl( ["on"] ).
    ** exited: {noproc,{gen_server,call,[{global,util},{enable,debug},10000]}} **
    (debug@REDACTED)2>  


----
Garry Hodgson, Senior Software Geek, AT&T CSO

But I'm not giving in an inch to fear
'Cause I promised myself this year
I feel like I owe it...to someone.




More information about the erlang-questions mailing list