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

Lenrel Lenrel lenrel2014@REDACTED
Tue Sep 30 14:39:07 CEST 2014


I realised that the reason for this problem is related to KVM VM cpu model.
The problem can be reproduced every time on standard qemu64 cpu model.
After I change the model to "host", the problem is not happening any more.

Maybe the there is some issue with qemu emulator.


However, this is the configuration of CPU model:


vendor_id : GenuineIntel

cpu family : 6

model : 2

model name : QEMU Virtual CPU version 1.4.2

stepping : 3

microcode : 0x1

cpu MHz : 3200.080

cache size : 4096 KB

physical id : 3

siblings : 1

core id : 0

cpu cores : 1

apicid : 3

initial apicid : 3

fpu : yes

fpu_exception : yes

cpuid level : 4

wp : yes

flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36
clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl pni cx16 popcnt
hypervisor lahf_lm

bogomips : 6400.16

clflush size : 64

cache_alignment : 64

address sizes : 40 bits physical, 48 bits virtual

power management:







Cmdline arguments:

/usr/lib/erlang/erts-6.2/bin/beam.smp-Ww-Ktrue-A30-P1048576---root/usr/lib/erlang-prognameerl---home/root---pa./sbin/../ebin-noshell-noinput-srabbitboot-snamerabbit@REDACTED
[{nodelay,true}]-saslerrlog_typeerror-saslsasl_error_loggerfalse-rabbiterror_logger{file,"./sbin/../var/log/rabbitmq/rabbit@REDACTED
"}-rabbitsasl_error_logger{file,"./sbin/../var/log/rabbitmq/rabbit@REDACTED
"}-rabbitenabled_plugins_file"./sbin/../etc/rabbitmq/enabled_plugins"-rabbitplugins_dir"./sbin/../plugins"-rabbitplugins_expand_dir"./sbin/../var/lib/rabbitmq/mnesia/rabbit@REDACTED
"-os_monstart_cpu_supfalse-os_monstart_disksupfalse-os_monstart_memsupfalse-mnesiadir"./sbin/../var/lib/rabbitmq/mnesia/rabbit@REDACTED
"-kernelinet_dist_listen_min25672-kernelinet_dist_listen_max25672





It doesn't crash, just hangs. After sending ABRT signal to beam.smp

COREDUMP: https://www.dropbox.com/s/8sirk9owet8c5w0/coredump.xz?dl=0



COMPILE options: ./configure \

                --prefix=/usr \

                --enable-smp-support \

                --with-odbc



I'm using Snowshoe Linux S14 / 64 bit.



Regards,


On Sat, Sep 27, 2014 at 3:29 PM, Jesper Louis Andersen <
jesper.louis.andersen@REDACTED> wrote:

>
> On Fri, Sep 26, 2014 at 4:26 PM, Lenrel Lenrel <lenrel2014@REDACTED>
> wrote:
>
>> I have compiled  from source erlang 17.3 and rabbitmq 3.3.5.
>
>
> We need more information:
>
> System architecture / operating system
> What compilation options were used
> Do you use HiPE?
> arguments to the VM
>
> Can you log in to the console on the node?
> Do you have a crashdump? (I believe sending SIGQUIT to the beam.smp
> process will produce one, but do note environment variables in the erl(1)
> man page).
>
>
>
> --
> J.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140930/b5a610c5/attachment.htm>


More information about the erlang-bugs mailing list