[erlang-bugs] beam.smp hangs and use 100% of cpu

Lenrel Lenrel lenrel2014@REDACTED
Fri Sep 26 16:26:28 CEST 2014


I have compiled  from source erlang 17.3 and rabbitmq 3.3.5.

Then I generate a load of aprox. 200 msg/s to rabbitmq exchange.

After a couple of minutes, process beam.smp hangs and use 100% of cpu.

The rabbitmq stops receiving connections and can't do anything with
rabbitmqctl.


The same thing happens when I compile older versions of erlang and rabbitmq
(R16B03 / 3.1.5).



This is the strafe -f -p:

Process 3431 attached with 39 threads
[pid  3509] futex(0x7fa289380990, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3510] futex(0x7fa2893809d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3508] futex(0x7fa289380950, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3506] futex(0x7fa2893808d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3507] wait4(-1,  <unfinished ...>
[pid  3505] futex(0x7fa289380890, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3504] futex(0x7fa289380850, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3503] futex(0x7fa289380810, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3502] futex(0x7fa2893807d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3501] futex(0x7fa289380790, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3500] futex(0x7fa289380750, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3499] futex(0x7fa289380710, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3497] futex(0x7fa289380690, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3496] futex(0x7fa289380650, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3498] futex(0x7fa2893806d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3495] futex(0x7fa289380610, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3494] futex(0x7fa2893805d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3493] futex(0x7fa289380590, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3492] futex(0x7fa289380550, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3491] futex(0x7fa289380510, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3490] futex(0x7fa2893804d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3489] futex(0x7fa289380490, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3488] futex(0x7fa289380450, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3487] futex(0x7fa289380410, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3486] futex(0x7fa2893803d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3485] futex(0x7fa289380390, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3484] futex(0x7fa289380350, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3483] futex(0x7fa289380310, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3482] futex(0x7fa2893802d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3481] futex(0x7fa289380290, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3480] futex(0x7fa289380250, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3479] futex(0x7fa289380210, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3478] futex(0x7fa2893801d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3477] futex(0x7fa289380190, FUTEX_WAIT_PRIVATE, 4294967295, NULL
<unfinished ...>
[pid  3476] futex(0x8dbd44, FUTEX_WAIT_PRIVATE, 3, NULL <unfinished ...>
[pid  3475] read(6,  <unfinished ...>
[pid  3431] select(0, NULL, NULL, NULL, NULL



any help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140926/a877ca02/attachment.htm>


More information about the erlang-bugs mailing list