[JDEV] unnecessary presence being sent by jabber?

Menzi, Hans HMenzi at eci.com
Thu Jul 17 16:59:45 CDT 2003


Hello,

I have 2 problems that are related that I have been trying to solve,
hopefully someone can help.
I am using jabber-1.4.2 with aim-transport-stable-20030314.

1.) When a jabber user with many AIM buddies logs in, too many presence
packets are sent to me. Is there any way to control this correctly? I
get the following messages:

sessions.c:633 [AIM] rate warning (paramid 0x0002): curavg = 1696,
maxavg = 6000, alert at 2080, clear warning at 3090, limit at 1650,
disconnect at 1200 (window size = 68)

The other question is related in that I still receive presences from AIM
buddies that I have deleted from my roster.

2.) I try to remove a buddy that is associated with the AIM transport
with the following XML:
<iq id="FEBE2-1082" type="set"><query xmlns="jabber:iq:roster">
<item jid="user at aim.domain.com" name="user at aim.domain.com"
subscription="remove"></item></query></iq>

However jabber does not remove the user from my roster, it changes the
item subscription from "both" to "from" as seen below:
<item jid='user at aim.domain.com' name=''user at aim.domain.com '
subscription='from'>

Jabber also does not remove the user from my AIM XML file.

So whenever I log in, I get presence from the user that I deleted
(unnecessary)

Any and all help/solutions/suggestions are welcome

Thanks in advance,
Hans



More information about the JDev mailing list