What can cause erlang to hang, if all I'm using are gen_tcp and and standard libs?

Vlad Dumitrescu <>
Mon Feb 6 08:41:53 CET 2006


Hi,

Seeing the code would help a lot, and also knowing whether there are any
differences between "some runs" and the rest of them.

regards,
Vlad

----- Original Message ----- 
From: "Zack Brannigan" <>
To: <>
Sent: Monday, February 06, 2006 6:21 AM
Subject: What can cause erlang to hang, if all I'm using are gen_tcp and and
standard libs?


> Hi:
>
> I have three processes: one that uses a gen_tcp socket
> to communicate with a remote server using telnet,
> another that receives socket updates from the first,
> and a third that's merely diagnostic (counting 1,2,3
> every second).
>
> During some runs of my program, I reach a point where
> evidently erlang hangs completely. The third process,
> which does not communicate in any way with the other
> two, stops counting.
>
> If there's a dead lock between the first two, why
> should it affect the third?
>
> I encountered this problem using the latest versions
> of OTP (R10B9) under winXP Pro and under Linux (OTP
> compiled from source).
>
> Can anyone help me figure this out? Thank you.
>
> -- Zack
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>



More information about the erlang-questions mailing list