On 10/31/06, Brian Safford <[EMAIL PROTECTED]> wrote:
 Well, we lit up a single instance of the PyYIMt transport last Saturday.

cool.

 We're running on a Compaq DL 380 G4 with 4GB memory and a RAID1+0 setup
with 8 total drives == 4 spindles.  Box has proven to be a screamer for
other applications, like sendmail ( we run all the mail relays for EDS and
EDS's customers ).

that's one hectic box :-)

 python 2.4.3

This has known issues with TLS/SSL (http://python.org/sf/1041645).
You should be fine, because I don't think PyYIMt will use TLS/SSL to
connect to the xmpp server.  (maybe to the yahoo server - unsure - I'm
using 2.4.4r0, which might explain some issues)

 We're averaging around 35-40 user connections, and here the output from a
60 second run of 'sar':
 Thinking something might be spinning, I upped the debug level of my Jabber
XCP server to 'debug' for a few minutes.

mmm, agreed.

 In those few minutes, 27,822 of these showed up:

 Oct 31 12:39:23 plmler7 eds_jabberd[22196]: deliver.c:1203::98311 :
DELIVER: type:1, host:yahootest.eim.eds.com, packet:<presence
type='subscribed' to='[EMAIL PROTECTED]'
from='[EMAIL PROTECTED]'><status>Already
Subscribed</status></presence>

 All of them with '[EMAIL PROTECTED]' ... I checked his/her roster
and all the yahoo gateway entries have subscription='both'

yep, looks like something bad.  Can you find messages from the
transport to the server, (i.e. other direction).  I'd be interested in
knowing what's causing this loop.

Were the messages from all the user's contacts, or just the one?  Were
there presence subscriptions from the transport jid too?

 Opinions, thoughts, comments welcome ...

You could run the transport under 'winpdb' (It's not windows specific,
don't let the name confuse you).  It's a great cross-platform python
debugger that lets you attach from a remote machine, etc.  I normally
run my transports 'detached' from the debugger, and only fire up and
attach the debugger when there are issues.

If you could use the debugger to figure out what is causing the loop
that would be great.  I'd expect it to be somewhere in the
xmpp_presence.

P.S. This message arrives at a bad time: I'm going to be on vacation
till the 14th.  Hopefully you can survive till then.

--
- Norman Rasmussen
- Email: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/
_______________________________________________
py-transports mailing list
[email protected]
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to