[erlang-questions] gen_server doesn't respond

Tim Watson watson.timothy@REDACTED
Mon Jun 3 12:34:49 CEST 2013


Does the callback module execute any selective receives inside handlers perhaps? If not, are you sure the message has actually arrived in that process' mailbox, can you see unhandled messages in the message queue (I.e., length > 0 whilst waiting)?

On 3 Jun 2013, at 10:34, "Park, Sungjin" <jinni.park@REDACTED> wrote:

> Guys,
> 
> I'm encountering cases when gen_server doesn't respond.
> In such cases, erlang:process_info/1 shows the process state 'waiting' with some messages in the message_queue.  The messages have not been consumed for tens of minutes at least.  Anybody has any idean about this?
> 
> 
> -- 
> Park, Sungjin
> -------------------------------------------------------------------------------------------------------------------
> Peculiar travel suggestions are dancing lessons from god.
>   -- The Books of Bokonon
> -------------------------------------------------------------------------------------------------------------------
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list