[Tsung] Maximum number of concurrent users in a single VM reached and 'use_controller_vm' is true, can't start new beam !!!~n

robin robinliu8 at gmail.com
Wed May 30 10:00:19 CEST 2007


Hello everyone!
    
    I was testing jabber server with tsung.
    My tsung.xml follows:

<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/usr/share/tsung/tsung-1.0.dtd">
<tsung loglevel="info" version="1.0">

  <clients>
    <client host="localhost" use_controller_vm="true"></client>    
  </clients>

  <!-- Server side setup -->
 <servers>
  <server host="fc5" port="5222" type="tcp"></server>
 </servers>

  <load>
   <arrivalphase phase="1" duration="100" unit="minute">
    <!--users interarrival="1" unit="second"></users-->
    <!--added by hooray at 2007/05/18-->
    <users maxnumber="10000" interarrival="1" unit="second"></users>
   </arrivalphase>
  </load>

  <!-- JABBER parameters -->
  <!-- to synchronise users,  use a global acknoledgement -->
 <options>
  <option type="ts_jabber" name="global_number" value="10000"></option>
  <option type="ts_jabber" name="userid_max" value="10000"></option>
  <option type="ts_jabber" name="domain" value="fc5"></option>
  <option type="ts_jabber" name="username" value="lh"></option>
  <option type="ts_jabber" name="passwd" value="lh"></option>
 </options>

  <sessions>
   <session probability="100" name="jabber-example" type="ts_jabber">

    <request> <jabber type="connect" ack="local"></jabber> </request>
    <thinktime value="1"></thinktime>
    <transaction name="authenticate">
      <request> <jabber type="auth_get" ack="local"></jabber> </request>
      <request> <jabber type="auth_set_plain" ack="local"></jabber> </request>
    </transaction>

    <request> <jabber type="presence:initial" ack="local"/> </request>
    <thinktime value="1"></thinktime>

    <transaction name="roster">
      <request> <jabber type="iq:roster:get" ack="no_ack"></jabber></request>
    </transaction>

    <thinktime value="30"></thinktime>

    <transaction name="online">
    <request> <jabber type="chat" ack="no_ack" size="16" destination="online"></jabber> </request>
    </transaction>

    <thinktime value="30"></thinktime>
    
    
    <transaction name="offline">
      <request> <jabber type="chat" ack="local" size="56" destination="offline"></jabber> </request>
    </transaction>

    <thinktime value="30"></thinktime>    
    
    <transaction name="close">
      <request> <jabber type="close" ack="local"></jabber> </request>
    </transaction>    
  </session>
 </sessions>
</tsung>

After run a period of time, I get a message:

Maximum number of concurrent users in a single VM reached and 'use_controller_vm' is true, can't start new beam !!!~n

I thought that too many users, but is only 10000 users.
I don't know how to fix.
Someone can help me.
Thank a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20070530/ad2df6ef/attachment.html


More information about the Tsung-users mailing list