[erlang-questions] erlang gen_tcp:connect/3 not working with rpc:call/4, anyone knows why?

Magnus Klaar magnus.klaar@REDACTED
Thu Sep 22 16:53:45 CEST 2011


If it uses native lookups we can assume that getaddrinfo is broken when it
is called from the detached node.
This narrows down the search for the cause of this issue to a more general
problem with getaddrinfo on os-x,
leading us to this thread:


You could try just adding nohup to the command that you're executing using
ssh. Although i have a hard
time seeing how this would work. An erlang node started with -detached
should ignore HUP signals (afaik).

MVH Magnus

On Wed, Sep 21, 2011 at 8:48 PM, Allen Kim <allen.kim@REDACTED>wrote:

> I don't see any difference from outputs from the following commands.
> It both uses native lookup.
> Anyway, it is not a big deal since I do not use Mac for staging nor
> production. it's only for development.
> However, I hope it's better to be consistent on all kind of *nix
> environment.
> Or, it could be me only.
> Any Mac user who what to test this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110922/ea203c2c/attachment.htm>

More information about the erlang-questions mailing list