[erlang-questions] user process suspended

Theepan <>
Tue Sep 22 16:07:41 CEST 2015


The first step should be to check if the server is still listening on the
assigned port (may be 80).

You can check the mailbox length of relevant processes to confirm if the
mailbox sizes are increasing, using the process information API.

If you are handling gen_tcp your self instead of using a http library,
check how you have configured the 'active' option. {active, once} can
sometimes be a culprit, if you don't do it right.

Theepan



On Tue, Sep 22, 2015 at 7:04 PM, Samuel <> wrote:

> Hi,
>
> We are experiencing problems were an erlang service stops receiving
> HTTP requests while still alive and responding to remote_shell. When
> this happens cpu usage drops and memory grows slowly and steadily, I
> suspect cpu just goes down as the node stops getting requests and
> memory goes up because some mailboxes keep growing.
>
> We have been collecting crashdumps for all thos instances and all of
> them show the same process pattern: the user process is suspended
> while all others are waiting. Again I suspect that all of them are
> waiting simply because there is not a lot of activity in the node so I
> am inclined to think that the suspended user process is probably the
> actual issue.
>
> We can remote shell into those nodes and we have tested that we can
> create and write files, so IO is not completely blocked.
>
> This is under R16B03.
>
> Any hints on what could be the cause and/or how to debug this problem?
>
> Cheers
>
> --
> Samuel
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150922/6fcab0f2/attachment.html>


More information about the erlang-questions mailing list