简体   繁体   English

Tsung开始失败了

[英]Tsung is started failed

I used Ejabberd version :15.10 Erlang/OTP version: 18 Tsung version: 1.6.1 我使用Ejabberd版本:15.10 Erlang / OTP版本:18 Tsung版本:1.6.1

when i starting tsung after "make install", use: 当我在“make install”之后启动tsung时,使用:

xxxxx:~/.tsung$ tsung -f jabber_register.xml start xxxxx:〜/ .tsung $ tsung -f jabber_register.xml start

eg:the jabber_register.xml is copyed from example 例如:从示例中复制jabber_register.xml

then show that: 然后表明:

Starting Tsung 
Log directory is: /home/user/.tsung/log/20151112-1105 
[os_mon] memory supervisor port (memsup): Erlang has closed  
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed

What causes the failure? 是什么导致失败?

I use riak recently, and encountered similar problem. 我最近使用riak,遇到了类似的问题。

This is the full console info of starting riak: 这是启动riak的完整控制台信息:

config is OK
-config /var/lib/riak/generated.configs/app.2015.12.02.16.53.53.config -args_file /var/lib/riak/generated.configs/vm.2015.12.02.16.53.53.args -vm_args /var/lib/riak/generated.configs/vm.2015.12.02.16.53.53.args
Exec:  /usr/lib64/riak/erts-5.10.3/bin/erlexec -boot /usr/lib64/riak/releases/2.0.4/riak               -config /var/lib/riak/generated.configs/app.2015.12.02.16.53.53.config -args_file /var/lib/riak/generated.configs/vm.2015.12.02.16.53.53.args -vm_args /var/lib/riak/generated.configs/vm.2015.12.02.16.53.53.args -pa /usr/lib64/riak/lib/basho-patches -- console
Root: /usr/lib64/riak
Erlang R16B02_basho6 (erts-5.10.3) [source-bcd8abb] [64-bit] [smp:1:1] [async-threads:64] [kernel-poll:true] [frame-pointer]

[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
{"Kernel pid terminated",application_controller," {application_start_failure,riak_core,{invalid_ring_state_dir,{riak_core_app,start,[normal,[]]}}}"}

Crash dump was written to: /var/log/riak/erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,riak_core,{invalid_ring_state_dir,{riak_core_app,start,[normal,[]]}}})

I discovered some resource on riak official sites, and understand the problem. 我在riak官方网站上发现了一些资源,并了解这个问题。

Riak's Erlang VM is built with SMP support and if Riak is started on a non-SMP system, an error like this one is logged. Riak的Erlang VM是在SMP支持下构建的,如果在非SMP系统上启动Riak,则会记录类似这样的错误。 This is commonly seen in virtualized environments configured for only one CPU core. 这在仅为一个CPU核配置的虚拟化环境中很常见。

I assumed you run Tsung in VM either. 我假设你在VM中运行Tsung。

Enjoy! 请享用!

Reference: 参考:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM