[erlang-questions] Network communications fails with R13B02-1 on OS X

Joel Reymont <>
Thu Oct 1 17:02:57 CEST 2009


Dave,

You haven't modified __DARWIN_FD_SETSIZE in sys/_structs.h, have you?

What is your system ulimit -n setting?

I know for a fact that if you change the system-wide FD_SETSIZE via  
_structs.h then epmd and ssl_esock stop working when ulimit -n is high  
enough. I used to start epmd manually but then resorted to compiling  
OTP with a high system FD_SETSIZE and then recompiling just ssl_esock  
and epmd with a low setting.

I would bet epmd is the issue, try starting it manually in the non- 
demon mode and see what it says.

On Oct 1, 2009, at 3:17 PM, Dave Bryson wrote:

> Yesterday I upgraded to otp_13B02-1 from R12-5 on OS X 10.5.8. I  
> notice today that any form of network communication between nodes  
> seems to fail. Trying to start slaves on the same host (which I was  
> able to do before the upgrade) fails with an {error,timeout}.  Even  
> doing a simple 'net:ping()' on the same host between  
> two nodes fails with a pang.   I can run the same exact tests on  
> Ubuntu with R13B02-1 and they pass with flying colors.  Has anyone  
> else noticed this problem on OS X?  Any ideas what the problem may be?
>
> Thanks!
> Dave
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>

---
fastest mac firefox!
http://wagerlabs.com






More information about the erlang-questions mailing list