Skip to content

Instantly share code, notes, and snippets.

@developerworks
Created March 17, 2015 07:56
Show Gist options
  • Save developerworks/0d90883f67a757031254 to your computer and use it in GitHub Desktop.
Save developerworks/0d90883f67a757031254 to your computer and use it in GitHub Desktop.
Segmentation fault Ejabberd
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/usr/share/tsung/tsung-1.0.dtd">
<tsung loglevel="debug" dumptraffic="false" version="1.0">
<clients>
<client host="scm" maxusers="200000">
<ip value="192.168.8.200"></ip>
</client>
<client host="compile" maxusers="200000">
<ip value="192.168.8.31"></ip>
</client>
</clients>
<servers>
<server host='master.hezhiqiang.info' port='5222' type='tcp'/>
</servers>
<load>
<arrivalphase phase="1" duration="1800" unit="second">
<users maxnumber="200000" interarrival="0.002" unit="second"></users>
</arrivalphase>
</load>
<options>
<option type="ts_jabber" name="global_number" value="100000"></option>
<option type="ts_jabber" name="userid_max" value="100000"></option>
<option type="ts_jabber" name="domain" value="master.hezhiqiang.info"></option>
<option type="ts_jabber" name="username" value="u"></option>
<option type="ts_jabber" name="passwd" value="p"></option>
<option name="ports_range" min="1025" max="65535"/>
</options>
<sessions>
<session probability="100" name="jabber-example" type="ts_jabber">
<request>
<jabber type="connect" ack="local"></jabber>
</request>
<request>
<match do="abort" when="match">error</match>
<jabber type="register" ack="local" id="new"></jabber>
</request>
<thinktime value="600"></thinktime>
<request>
<jabber type="close" ack="local"></jabber>
</request>
</session>
</sessions>
</tsung>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment