Re: beam.smp hangs and use 100% of cpu

Lenrel Lenrel <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CAKnOTMe13H5K2qCRMsmu4N648E6bxLnwcXT+MNn10YpsLru1yA@mail.gmail.com>
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@snowy-bootstart_sasl-kernelinet_default_connect_options
[{nodelay,true}]-saslerrlog_typeerror-saslsasl_error_loggerfalse-rabbiterror_logger{file,"./sbin/../var/log/rabbitmq/[email protected]
"}-rabbitsasl_error_logger{file,"./sbin/../var/log/rabbitmq/[email protected]
"}-rabbitenabled_plugins_file"./sbin/../etc/rabbitmq/enabled_plugins"-rabbitplugins_dir"./sbin/../plugins"-rabbitplugins_expand_dir"./sbin/../var/lib/rabbitmq/mnesia/rabbit@snowy-plugins-expand
"-os_monstart_cpu_supfalse-os_monstart_disksupfalse-os_monstart_memsupfalse-mnesiadir"./sbin/../var/lib/rabbitmq/mnesia/rabbit@snowy
"-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 <
[email protected]> wrote:

>
> On Fri, Sep 26, 2014 at 4:26 PM, Lenrel Lenrel <[email protected]>
> 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.
>

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.