GithubHelp home page GithubHelp logo

How to run vmq_mzbench ? about vmq_mzbench HOT 6 CLOSED

vernemq avatar vernemq commented on June 26, 2024
How to run vmq_mzbench ?

from vmq_mzbench.

Comments (6)

ioolkos avatar ioolkos commented on June 26, 2024

Hi there :) thanks...can you try adding a trailing slash to the rsync path in the scenario file? in your case, the path should probably be /root/vernemq/vmq_mzbench/

from vmq_mzbench.

liucy2007975 avatar liucy2007975 commented on June 26, 2024

Thank you for reply ! yes, I save the vmq_mzbench and mzbench in the same path /root/vernemq ,

from vmq_mzbench.

liucy2007975 avatar liucy2007975 commented on June 26, 2024

%% Here's a stupid, quick example to give you an idea.
%% Paste this to the scenario field in MZBench web frontend and
%% run it.

[
{make_install, [{rsync, "/root/vernemq/vmq_mzbench"},
{exclude, "deps"}]},

{pool, [{size, {numvar, "publisher-number", 100}},
{worker_type, mqtt_worker},
{worker_start, {linear, {{numvar, "publisher-rps", 20}, rps}}}
],
[
{connect, [{t, host, "172.16.38.164"},
{t, port, 1883},
{t, client, {random_client_id, 18}},
{t, clean_session, false},
{t, keepalive_interval, 60}]},
{wait, {5, sec}},

{loop, [
{time, {30, sec}},
{rate, {2, rps}}
.....

from vmq_mzbench.

ioolkos avatar ioolkos commented on June 26, 2024

{make_install, [{rsync, "/root/vernemq/vmq_mzbench/"}, {exclude, "deps"}]},

observe the trailing slash I added here!

from vmq_mzbench.

liucy2007975 avatar liucy2007975 commented on June 26, 2024

Thank you very mach ! I missed the last '/' in the path .
There is another Issue ,after finish the test ,the vernemq server has so many connections status in 'CLOSE_WAIT'
" netstat -an | grep 'CLOSE_WAIT' | wc -l " ---> 782561
that make the new clients can hardly connect.

from vmq_mzbench.

ioolkos avatar ioolkos commented on June 26, 2024

Very interesting, I don't see this here.
Question is, if this is related to some TCP configs on OS level.

from vmq_mzbench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.