All,
I am developing a server component that essentially will take requests from a custom
jabber client and return the output of a call to a database server to said client.
Simple, right? My problem is that when the client makes the request it takes approx.
30 seconds to see the results. This is with the client running on the same computer as
the server and not at heavy load (it is a P3/800 with 512M RAM running RedHat 7.3 with
no email/apache/other servers running). I assumed that the karma settings needed to be
fiddled with, but when I add a <karma/> tag to the <service/> tag of jabber.xml I get
a message telling me that the <karma/> tag is not recognized. See the truncated output
of a jabberd -D startup call:
Invalid Configuration in instance 'sls_agent':
<karma>
<init>50</init>
<max>50</max>
<inc>4</inc>
<dec>1</dec>
<penalty>-5</penalty>
<restore>50</restore>
</karma>
ERROR: Unknown Base Tag: karma
My jabber.xml file includes the following <service/> tag for my component:
<service id="sls_agent">
<host>sls_agent.shrieker.ena.com</host>
<accept>
<ip>localhost</ip>
<port>5998</port>
<secret>terces</secret>
</accept>
<karma>
<init>50</init>
<max>50</max>
<inc>4</inc>
<dec>1</dec>
<penalty>-5</penalty>
<restore>50</restore>
</karma>
</service>
I have my server in debug mode and see the response from the component in the debug
output immediately when the component is accessed and the log info from my component
suggests that the once the call is made the data is processed quickly and that the
results are returned the server in short order. It looks like the server is holding on
to the data before it sends it to the client. I have written my component in Perl
using the Jabber::Connection (v0.04 from cvs) and the Jabber::NodeFactory Perl
modules.
If anyone has any ideas about why the server would, seemingly, hold on to packets
before it sends them I would greatly appreciate hearing from you.
Thanks in advance for the help,
--Joe Breeden
Fake Shemp
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev