<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">ProcessOne Discussion Forums</title>
    <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/" />
    <link rel="self" type="application/atom+xml" href="https://www.process-one.net/en/forum/atom/" />
    <updated></updated>
    <rights>Copyright (c) 2013</rights>
    <generator uri="http://expressionengine.com/" version="1.7.0">ExpressionEngine</generator>
    <id>tag:https:,2013:05:21</id>


    <entry>
      <title>Web chat like Gmail or facebook &#45; any setup recommendations&#63;</title>
      <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/viewthread/396/" />      
      <id>tag:https:,2010:/www.process-one.net/en/forum/viewthread/.396</id>
      <published>2010-07-06T22:44:57Z</published>
      <updated></updated>
      <author><name>jeans</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi,<br />
we want to launch a web chat within a large social network with up to 50K users online simultaneously. Mostly like facebook, netlog or Gmail. Does anyone have recommendations? Are there any scalable plug and play solutions, including the JS client (no flash, no java, ...), where we just need to connect our users rosters? </p>

<p>Thanks in advance.</p>

<p>JD
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Install exmpp without sudo</title>
      <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/viewthread/609/" />      
      <id>tag:https:,2011:/www.process-one.net/en/forum/viewthread/.609</id>
      <published>2011-06-29T13:58:09Z</published>
      <updated></updated>
      <author><name>Taddic</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi</p>

<p>I am new to this forum and I&#8217;ve just started doing my bachelor thesis at Uppsala University. My thesis is the creation of a serverless chat client (already been done yes, but it&#8217;s just a bachelor thesis, it&#8217;s not required it&#8217;s something new). </p>

<p>I would like to use exmpp, but the problem I&#8217;m having at the moment is that I want to use it on the Unix systems located at my school (Solaris machines) where I don&#8217;t have sudo rights. I can use make, autoreconf (as far as I could tell at least). I am not sure if they have expat installed or not, but I have asked them about this today so we&#8217;ll see about that. So is this possible or should I just give up using exmpp for this project (It&#8217;s not a requirement, I just wanted to use it to get some of the chat stuff for &#8220;free&#8221;, so I can focus on the &#8220;finding people&#8221; problem)?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>exmpp segfault</title>
      <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/viewthread/767/" />      
      <id>tag:https:,2013:/www.process-one.net/en/forum/viewthread/.767</id>
      <published>2013-03-27T18:42:00Z</published>
      <updated>2013-03-27T18:44:44Z</updated>
      <author><name>argo</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello</p>

<p>in FreeBSD 9.1 amd64 with latest exmpp, erlang R15B03|R16B</p>

<p>I have a segfault</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">(</span><span style="color: #0000BB">gdb</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">backtrace<br /></span><span style="color: #FF8000">#0&nbsp;&nbsp;bf_get_free_block&nbsp;(allctr=0x801873840,&nbsp;size=112,&nbsp;cand_blk=0x0,&nbsp;cand_size=0,&nbsp;flags=0)&nbsp;at&nbsp;beam/erl_bestfit_alloc.c:838<br />#1&nbsp;&nbsp;0x0000000000440664&nbsp;in&nbsp;mbc_alloc&nbsp;(allctr=0x801873840,&nbsp;size=Variable&nbsp;"size"&nbsp;is&nbsp;not&nbsp;available.)&nbsp;at&nbsp;beam/erl_alloc_util.c:1309<br />#2&nbsp;&nbsp;0x0000000000440be0&nbsp;in&nbsp;do_erts_alcu_alloc&nbsp;(type=174,&nbsp;extra=0x801873840,&nbsp;size=100)&nbsp;at&nbsp;beam/erl_alloc_util.c:3530<br />#3&nbsp;&nbsp;0x0000000000440c57&nbsp;in&nbsp;erts_alcu_alloc_thr_pref&nbsp;(type=174,&nbsp;extra=Variable&nbsp;"extra"&nbsp;is&nbsp;not&nbsp;available.)&nbsp;at&nbsp;beam/erl_alloc_util.c:3607<br />#4&nbsp;&nbsp;0x0000000807169b83&nbsp;in&nbsp;CRYPTO_malloc&nbsp;()&nbsp;from&nbsp;/lib/libcrypto.so.6<br />#5&nbsp;&nbsp;0x00000008071457a4&nbsp;in&nbsp;EVP_MD_CTX_copy_ex&nbsp;()&nbsp;from&nbsp;/lib/libcrypto.so.6<br />#6&nbsp;&nbsp;0x0000000809108fef&nbsp;in&nbsp;tls1_final_finish_mac&nbsp;()&nbsp;from&nbsp;/usr/lib/libssl.so.6<br />#7&nbsp;&nbsp;0x00000008091182e3&nbsp;in&nbsp;ssl3_send_finished&nbsp;()&nbsp;from&nbsp;/usr/lib/libssl.so.6<br />#8&nbsp;&nbsp;0x0000000809101f8c&nbsp;in&nbsp;ssl3_connect&nbsp;()&nbsp;from&nbsp;/usr/lib/libssl.so.6<br />#9&nbsp;&nbsp;0x00000008090f3349&nbsp;in&nbsp;ssl23_connect&nbsp;()&nbsp;from&nbsp;/usr/lib/libssl.so.6<br />#10&nbsp;0x0000000808ed5782&nbsp;in&nbsp;exmpp_tls_openssl_control&nbsp;(drv_data=0x80267d4a0,&nbsp;command=Variable&nbsp;"command"&nbsp;is&nbsp;not&nbsp;available.)&nbsp;at&nbsp;exmpp_tls_openssl.c:333<br />#11&nbsp;0x000000000048f36d&nbsp;in&nbsp;erts_port_control&nbsp;(c_p=0x802782428,&nbsp;prt=0x80267d258,&nbsp;command=7,&nbsp;data=34442182898,&nbsp;retvalp=0x7fffff38cca8)&nbsp;at&nbsp;beam/io.c:3682<br />#12&nbsp;0x0000000000503570&nbsp;in&nbsp;erts_internal_port_control_3&nbsp;(A__p=0x802782428,&nbsp;BIF__ARGS=0x802100040)&nbsp;at&nbsp;beam/erl_bif_port.c:250<br />#13&nbsp;0x0000000000530d8c&nbsp;in&nbsp;process_main&nbsp;()&nbsp;at&nbsp;beam/beam_emu.c:2558<br />#14&nbsp;0x00000000004a1c9c&nbsp;in&nbsp;sched_thread_func&nbsp;(vesdp=Variable&nbsp;"vesdp"&nbsp;is&nbsp;not&nbsp;available.)&nbsp;at&nbsp;beam/erl_process.c:5632<br />#15&nbsp;0x00000000005b1c89&nbsp;in&nbsp;thr_wrapper&nbsp;(vtwd=Variable&nbsp;"vtwd"&nbsp;is&nbsp;not&nbsp;available.)&nbsp;at&nbsp;pthread/ethread.c:106<br />#16&nbsp;0x00000008010a20a4&nbsp;in&nbsp;pthread_getprio&nbsp;()&nbsp;from&nbsp;/lib/libthr.so.3<br />#17&nbsp;0x0000000000000000&nbsp;in&nbsp;??&nbsp;()<br /></span><span style="color: #0000BB">Cannot&nbsp;access&nbsp;memory&nbsp;at&nbsp;address&nbsp;0x7fffff38d000&nbsp;</span>
</span>
</code></div>
      ]]>
      </content>
    </entry>

    <entry>
      <title>tweets dont deliver</title>
      <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/viewthread/762/" />      
      <id>tag:https:,2013:/www.process-one.net/en/forum/viewthread/.762</id>
      <published>2013-03-12T20:23:18Z</published>
      <updated></updated>
      <author><name>petercoolkid</name></author>
      <content type="html">
      <![CDATA[
        <p><span style="font-size:14px;"></span><span style="color:blue;"></span> my tweets dont deliver&#8230; have tried signing in again from tweet.im, buh i get d msg authentification failed
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>[SOLVED] build exmpp failed on ubuntu 12.04</title>
      <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/viewthread/758/" />      
      <id>tag:https:,2013:/www.process-one.net/en/forum/viewthread/.758</id>
      <published>2013-02-20T03:36:08Z</published>
      <updated>2013-02-22T07:53:39Z</updated>
      <author><name>neokuno</name></author>
      <content type="html">
      <![CDATA[
        <p>I want to give a try to ejabberd3, so, before that, I need install exmpp first, right?</p>

<p>First I download the latest stable version of exmpp, which is v0.9.9, from official github repo.</p>

<p>Followed step by step that in the README.md file: </p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">cd&nbsp;exmpp</span><span style="color: #007700">-</span><span style="color: #0000BB">0.9.9<br />autoreconf&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">ivf<br /></span><span style="color: #007700">./</span><span style="color: #0000BB">configure&nbsp;</span>
</span>
</code></div>

<p>Everything seems fine, but in the process of make, I got this error:</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">make&nbsp;&nbsp;all</span><span style="color: #007700">-</span><span style="color: #0000BB">am<br />make&#91;3&#93;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Entering&nbsp;directory&nbsp;</span><span style="color: #007700">`</span><span style="color: #DD0000">/home/vagrant/exmpp-0.9.9/src'<br />&#123;"init&nbsp;terminating&nbsp;in&nbsp;do_boot",&#123;undef,&#91;&#123;make,all,&#91;&#93;&#125;,&#123;erl_eval,do_apply,5&#125;,&#123;erl_eval,expr,5&#125;,&#123;init,start_it,1&#125;,&#123;init,start_em,1&#125;&#93;&#125;&#125;<br /><br />Crash&nbsp;dump&nbsp;was&nbsp;written&nbsp;to:&nbsp;erl_crash.dump<br />init&nbsp;terminating&nbsp;in&nbsp;do_boot&nbsp;()<br />make&#91;3&#93;:&nbsp;***&nbsp;&#91;all-local&#93;&nbsp;Error&nbsp;1<br />make&#91;3&#93;:&nbsp;Leaving&nbsp;directory&nbsp;</span><span style="color: #007700">`/</span><span style="color: #0000BB">home</span><span style="color: #007700">/</span><span style="color: #0000BB">vagrant</span><span style="color: #007700">/</span><span style="color: #0000BB">exmpp</span><span style="color: #007700">-</span><span style="color: #0000BB">0.9.9</span><span style="color: #007700">/</span><span style="color: #0000BB">src</span><span style="color: #DD0000">'<br />make&#91;2&#93;:&nbsp;***&nbsp;&#91;all&#93;&nbsp;Error&nbsp;2<br />make&#91;2&#93;:&nbsp;Leaving&nbsp;directory&nbsp;`/home/vagrant/exmpp-0.9.9/src'<br /></span><span style="color: #0000BB">make&#91;1&#93;</span><span style="color: #007700">:&nbsp;***&nbsp;</span><span style="color: #0000BB">&#91;all</span><span style="color: #007700">-</span><span style="color: #0000BB">recursive&#93;&nbsp;Error&nbsp;1<br />make&#91;1&#93;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Leaving&nbsp;directory&nbsp;</span><span style="color: #007700">`</span><span style="color: #DD0000">/home/vagrant/exmpp-0.9.9'<br />make:&nbsp;***&nbsp;&#91;all&#93;&nbsp;Error&nbsp;2&nbsp;</span>
</span>
</code></div>

<p>Could anyone help me figure this out?</p>

<p>Edit:<br />
It seems I missing some dependencies that cause this problem. I dont know exactly what is missing, but after installed a lot of erlang package, eg. erlang-tools, erlang-docs&#8230;, I solved this issue.
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Avatar photo not showing up in pidgin&#63;</title>
      <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/viewthread/753/" />      
      <id>tag:https:,2013:/www.process-one.net/en/forum/viewthread/.753</id>
      <published>2013-01-13T16:26:45Z</published>
      <updated></updated>
      <author><name>slmingol</name></author>
      <content type="html">
      <![CDATA[
        <p>I&#8217;m using ejabberd 2.1.5 and added a image to a user&#8217;s vcard/vcard2 like so:</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">%&nbsp;</span><span style="color: #0000BB">ejabberdctl&nbsp;set_vcard2&nbsp;sam&nbsp;cat</span><span style="color: #007700">.</span><span style="color: #0000BB">server</span><span style="color: #007700">.</span><span style="color: #0000BB">me&nbsp;PHOTO&nbsp;EXTVAL&nbsp;</span><span style="color: #DD0000">'http://www.gravatar.com/avatar/6a61a40ee46871d39e99835351e178ef?s=128&amp;d=identicon&amp;r=PG'<br /></span><span style="color: #007700">%&nbsp;</span><span style="color: #0000BB">ejabberdctl&nbsp;set_vcard&nbsp;sam&nbsp;chat</span><span style="color: #007700">.</span><span style="color: #0000BB">server</span><span style="color: #007700">.</span><span style="color: #0000BB">me&nbsp;PHOTO&nbsp;</span><span style="color: #DD0000">'http://www.gravatar.com/avatar/6a61a40ee46871d39e99835351e178ef?s=128&amp;d=identicon&amp;r=PG'&nbsp;</span>
</span>
</code></div>

<p>But my avatar never shows up in my pidgin client. Am I not understanding the abilities of vcard/vcard2 photos? Shouldn&#8217;t I be able to get them in this fashion from my xmpp client?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Starting the graphical monitor from the ejabberdctl debug shell</title>
      <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/viewthread/750/" />      
      <id>tag:https:,2012:/www.process-one.net/en/forum/viewthread/.750</id>
      <published>2012-12-20T16:33:27Z</published>
      <updated>2012-12-20T19:21:49Z</updated>
      <author><name>sjammula</name></author>
      <content type="html">
      <![CDATA[
        <p>I am unable to get i:im() running from the ejabberdctl debug shell. That command works absolutely fine from a regular erlang shell. The Display environment variable is all set.<br />
Is there a way that i can get this working? Is it even feasible?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Ejabberd 2.1.11 User ungracefully exits and server fails to recognize user is offline for a long time</title>
      <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/viewthread/748/" />      
      <id>tag:https:,2012:/www.process-one.net/en/forum/viewthread/.748</id>
      <published>2012-12-14T18:19:49Z</published>
      <updated></updated>
      <author><name>clander</name></author>
      <content type="html">
      <![CDATA[
        <p>I am running ejabberd-2.1.11 and am experiencing something a bit weird. If a user has its internet connection dropped while it is connected and online I do not see the ejabberd server recognize this user to be offline for what looks like 2 hours. Is there something I can change configuration wise?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Tsung XML</title>
      <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/viewthread/747/" />      
      <id>tag:https:,2012:/www.process-one.net/en/forum/viewthread/.747</id>
      <published>2012-12-11T06:54:44Z</published>
      <updated>2012-12-12T14:30:07Z</updated>
      <author><name>OM</name></author>
      <content type="html">
      <![CDATA[
        <p>I want to load test XMPP. I configure tsung xml <br />
 it authenticates and chats successfully.<br />
but chat messages are randomly sent , all contacts from roster are not covered</p>

<p>How to configure tsung.xml to send chat messages to all roster contacts</p>

<p>I add users useruser1_1,useruser1_2,useruser1_3,useruser1_4,useruser1_5,<br />
in each user&#8217;s roster all other contacts are added.</p>

<p>my tsung.xml</p>

<p>&lt;?xml version=&#8220;1.0&#8221;?&gt;<br />
&lt;!DOCTYPE tsung SYSTEM &#8220;/usr/share/tsung/tsung-1.0.dtd&#8221;&gt;<br />
&lt;tsung loglevel=&#8220;info&#8221; version=&#8220;1.0&#8221;&gt;</p>

<p>&lt;clients&gt;<br />
&nbsp;  &nbsp;  &nbsp; &lt;client host=&#8220;cent6-64&#8221; use_controller_vm=&#8220;true&#8221;&gt;<br />
&nbsp;  &nbsp;  &nbsp; &lt;ip value=&#8220;192.168.0.53&#8221;&gt;<br />
&nbsp;  &nbsp;  &nbsp; &lt;/client&gt;<br />
&lt;/clients&gt;</p>

<p>&lt;servers&gt;<br />
&nbsp; &lt;server host=&#8220;192.168.0.52&#8221; port=&#8220;5222&#8221; type=&#8220;tcp&#8221;&gt;&lt;/server&gt;<br />
&lt;/servers&gt;</p>

<p>&nbsp; &lt;load duration=&#8220;3&#8221; unit=&#8220;minute&#8221;&gt;<br />
&nbsp;  &nbsp;  &nbsp; &lt;arrivalphase phase=&#8220;1&#8221; duration=&#8220;3&#8221; unit=&#8220;minute&#8221;&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;   &lt;users maxnumber=&#8220;5&#8221; arrivalrate=&#8220;1&#8221; unit=&#8220;second&#8221;&gt;&lt;/users&gt;<br />
&nbsp;  &nbsp;  &nbsp; &lt;/arrivalphase&gt;<br />
&nbsp;  &nbsp;  &nbsp; &lt;user session=&#8220;xmpp-connection&#8221; start_time=&#8220;1&#8221; unit=&#8220;second&#8221;&gt;&lt;/user&gt;<br />
&nbsp; &lt;/load&gt;</p>

<p>&lt;options&gt;<br />
&nbsp; &lt;option type=&#8220;ts_jabber&#8221; name=&#8220;global_number&#8221; value=&#8220;5&#8221;&gt;&lt;/option&gt;<br />
&nbsp; &lt;option type=&#8220;ts_jabber&#8221; name=&#8220;userid_max&#8221; value=&#8220;5&#8221;&gt;&lt;/option&gt;<br />
&nbsp; &lt;option type=&#8220;ts_jabber&#8221; name=&#8220;domain&#8221; value=&#8220;test.int&#8221;&gt;&lt;/option&gt;<br />
&nbsp; &lt;option type=&#8220;ts_jabber&#8221; name=&#8220;username&#8221; value=&#8220;useruser1_&#8221;&gt;&lt;/option&gt;<br />
&nbsp; &lt;option type=&#8220;ts_jabber&#8221; name=&#8220;passwd&#8221; value=&#8220;useruser1_&#8221;&gt;&lt;/option&gt;<br />
&nbsp; &lt;option type=&#8220;ts_jabber&#8221; name=&#8220;muc_service&#8221; value=&#8220;conference.test.int&#8221;&gt;<br />
&lt;/options&gt;</p>

<p>&lt;sessions&gt;<br />
&nbsp;  &lt;session probability=&#8220;100&#8221; name=&#8220;xmpp-connection&#8221; type=&#8220;ts_jabber&#8221;&gt;</p>

<p>&nbsp;   &lt;request&gt; &lt;jabber type=&#8220;connect&#8221; ack=&#8220;no_ack&#8221;&gt;&lt;/request&gt;</p>

<p>&nbsp;   &lt;transaction name=&#8220;authenticate&#8221;&gt;<br />
&nbsp;  &nbsp;  &lt;request&gt; &lt;jabber type=&#8220;auth_get&#8221; ack=&#8220;local&#8221;&gt;&lt;/request&gt;<br />
&nbsp;  &nbsp;  &lt;request&gt; &lt;jabber type=&#8220;auth_set_plain&#8221; ack=&#8220;local&#8221;&gt;&lt;/request&gt;<br />
&nbsp;   &lt;/transaction&gt;</p>

<p>&nbsp;   &lt;request&gt; &lt;jabber type=&#8220;presence:initial&#8221; ack=&#8220;local&#8221;&gt;&lt;/request&gt;</p>

<p>&nbsp;   &lt;thinktime value=&#8220;5&#8221;&gt;</p>

<p>&nbsp;   &lt;for from=&#8220;1&#8221; to=&#8220;5&#8221; incr=&#8220;1&#8221; var=&#8220;counter&#8221;&gt;</p>

<p>&nbsp;   &lt;thinktime value=&#8220;1&#8221;&gt;</p>

<p>&nbsp;  &nbsp;  &nbsp;  &nbsp;  &lt;transaction name=&#8220;online&#8221;&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;   &lt;request&gt; &lt;jabber type=&#8220;chat&#8221; ack=&#8220;no_ack&#8221; size=&#8220;10&#8221; destination=&#8220;online&#8221;&gt;&lt;/request&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &lt;/transaction&gt;</p>

<p>&nbsp;   &lt;thinktime value=&#8220;1&#8221;&gt;</p>

<p>&nbsp;  &nbsp;  &nbsp;  &nbsp;  &lt;transaction name=&#8220;online&#8221;&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;   &lt;request&gt; &lt;jabber type=&#8220;chat&#8221; ack=&#8220;no_ack&#8221; size=&#8220;10&#8221; destination=&#8220;online&#8221;&gt;&lt;/request&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &lt;/transaction&gt;</p>

<p>&nbsp;   &lt;thinktime value=&#8220;1&#8221;&gt;</p>

<p>&nbsp;  &nbsp;  &nbsp;  &nbsp;  &lt;transaction name=&#8220;online&#8221;&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;   &lt;request&gt; &lt;jabber type=&#8220;chat&#8221; ack=&#8220;no_ack&#8221; size=&#8220;10&#8221; destination=&#8220;online&#8221;&gt;&lt;/request&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &lt;/transaction&gt;</p>

<p>&nbsp;   &lt;thinktime value=&#8220;1&#8221;&gt;</p>

<p>&nbsp;  &nbsp;  &nbsp;  &nbsp;  &lt;transaction name=&#8220;online&#8221;&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;   &lt;request&gt; &lt;jabber type=&#8220;chat&#8221; ack=&#8220;no_ack&#8221; size=&#8220;10&#8221; destination=&#8220;online&#8221;&gt;&lt;/request&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &lt;/transaction&gt;</p>

<p>&nbsp;   &lt;thinktime value=&#8220;1&#8221;&gt;</p>

<p>&nbsp;  &nbsp;  &nbsp;  &nbsp;  &lt;transaction name=&#8220;online&#8221;&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;   &lt;request&gt; &lt;jabber type=&#8220;chat&#8221; ack=&#8220;no_ack&#8221; size=&#8220;10&#8221; destination=&#8220;online&#8221;&gt;&lt;/request&gt;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &lt;/transaction&gt;<br />
&nbsp;   &lt;/for&gt;</p>

<p>&nbsp;   &lt;thinktime value=&#8220;180&#8221;&gt;</p>

<p>&nbsp;   &lt;transaction name=&#8220;close&#8221;&gt;<br />
&nbsp;  &nbsp;  &lt;request&gt; &lt;jabber type=&#8220;close&#8221; ack=&#8220;no_ack&#8221;&gt;&lt;/request&gt;<br />
&nbsp;   &lt;/transaction&gt;</p>

<p>&nbsp; &lt;/session&gt;</p>

<p>&lt;/sessions&gt;<br />
&lt;/tsung&gt;
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>MUC performance (delay) degradation</title>
      <link rel="alternate" type="text/html" href="https://www.process-one.net/en/forum/viewthread/730/" />      
      <id>tag:https:,2012:/www.process-one.net/en/forum/viewthread/.730</id>
      <published>2012-09-26T17:06:20Z</published>
      <updated></updated>
      <author><name>jlcruz</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello,</p>

<p>I&#8217;m using ejabberd to build an application to distribute messages in a one-to-many fashion where performance (delay) is critical. I opted for MUC vs PUBSUB because of its simplicity. One of the room participants sends a message so the rest of the room receives it.</p>

<p>I can understand that messages have to be delivered to all participants, therefore there will always be a delay between the first room participant being notified, and the last one.</p>

<p>However, I&#8217;ve found that delay increases linearly with the number of participants in the room. Even the delay for the first message leaving ejabberd to the first of the participants increases with the number of participants.</p>

<p>To be clear, I have measured the times between the XML message arrives to ejabberd  to the moment the message is sent to the participants.<br />
&#8220;(&lt;0.427.0&gt;:ejabberd_receiver:320) : Received XML on stream ...&#8221;<br />
&#8220;(&lt;0.428.0&gt;:ejabberd_c2s:1553) : Send XML on stream ...&#8221;</p>

<p>Let me post some numbers to explain the case:</p>

<p><br />
2 Participants Room <br />
..............................First&#8230;......Last&#8230;.......Diff <br />
Average delay&#8230;...13.229&#8230;..14.197&#8230;..1.054</p>

<p><br />
3 participants Room <br />
..............................First&#8230;......Last&#8230;.......Diff <br />
Average delay&#8230;...15.940&#8230;..20.056&#8230;..4.020 </p>

<p><br />
4 participants Room <br />
..............................First&#8230;......Last&#8230;.......Diff <br />
Average delay&#8230;...18.574&#8230;..26.377&#8230;...7.661 </p>

<p><br />
I&#8217;m using ejabberd-2.1.10, and my muc module config is:</p>

<p>&nbsp; &#123;mod_muc,&nbsp;  &nbsp;  &nbsp; [&#123;access, muc&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;access_create, muc_admin&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;access_admin, muc_admin&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp; &#123;history_size, 0&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;max_users, 10000&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;default_room_options, [<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;allow_change_subj, false&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;allow_private_messages, false&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;allow_query_users, false&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;allow_user_invites, false&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;members_by_default, false&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;members_only, true&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;moderated, false&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;password_protected, false&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;persistent, false&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;public, false&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &#123;public_list, false&#125;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;   ]&#125;,<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp; &#123;max_user_conferences, 1000000&#125;]&#125;,</p>

<p>Is there any configuration change that can be done to improve this? When the number of participants in the room increases to 15, the delay goes up to 60ms, which is quite a lot.</p>

<p>Thanks in advance. Regards,<br />
JL
</p>
      ]]>
      </content>
    </entry>


</feed>