<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.28">
<TITLE>unwanted rate limiting in jabber1.4 w jadc2s and muc</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Arial">I'm working on an app where I need to send a high volume of messages from a user to a muc room (group of rooms really). It looks like something is limiting the rate of messages into rooms though. I can only seem to get one in every couple of seconds, messages sent in between that interval get dropped.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I've done everything I can see to turn off karma and rate limiting in the jabber.xml and jadc2s.xml config files: I commented out all the karma tags in jabber.xml, and I set maxbps=0 in jadc2s.xml.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I've been testing this with a test client app that creates a room, then joins it, then starts sending numbered messages. For each open jabber connection to the room, my test app waits to get a response before sending the next message. I keep Exodus open in the same room with the debug window open to see when the messages actually show up. They seem to come about every 3 seconds spaced apart pretty evenly; as I mentioned earlier, messages sent in between that interval get dropped. To rule out client issues I've tried running this test with multiple threads in the same process, and by starting multiple single-threaded processes and I get the same result in both instances. I also tried running the test client from two different boxes to see if jabber is limiting me by IP, and that also doesn't seem to make a difference.</FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Arial">So I have a few questions:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">1) Anyone know straight off if this is rate limiting and how I can turn it off?</FONT>
<BR><FONT SIZE=2 FACE="Arial">2) If there's no clear answer what jabber logging options can I turn on to get a better info? What I see in the logs right now is pretty minimal and not helpful for my issue.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">3) Any other ideas why I might be seeing this effect?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">The versions I'm running are:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">OS: linux 2.6.9-11</FONT>
<BR><FONT SIZE=2 FACE="Arial">jabberd: 1.4.3</FONT>
<BR><FONT SIZE=2 FACE="Arial">jadc2s: 0.9.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">muc: 0.6.0</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Here's the io section of my jadc2s.xml:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"><io> </FONT>
<BR><FONT SIZE=2 FACE="Arial"> <max_fds>9973</max_fds></FONT>
<BR><FONT SIZE=2 FACE="Arial"> <max_bps>0</max_bps></FONT>
<BR><FONT SIZE=2 FACE="Arial"> <connection_limits></FONT>
<BR><FONT SIZE=2 FACE="Arial"> <connects>0</connects></FONT>
<BR><FONT SIZE=2 FACE="Arial"> <seconds>0</seconds></FONT>
<BR><FONT SIZE=2 FACE="Arial"> </connection_limits></FONT>
<BR><FONT SIZE=2 FACE="Arial"></io></FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">...like I mentioned above all the <karma> elements in my jabber.xml are commented out.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Any help with this is greatly greatly appreciated.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks in advance,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Larry Kirschner</FONT>
<BR><FONT SIZE=2 FACE="Arial">MTVNetworks</FONT>
</P>
<BR>
</BODY>
</HTML>