[jitsi-dev] Multiple presence change notifications


#1

Hi I run into very strange problem recently (2.2 stable and git).

Presence notifications from coleagues are multipled ... even when i change presence on GTALK I get _11_ notifications about how i got DND, away, then DND again etc.

This problem occurs on contacts from our jabber server as well as from other servers too. Seems to be related to number of resources of given contact.

I am trying to debug and updateChatTransportStatus of ChatPanel is called way to frequently on status change.

It is hard to believe i am the only one affected by this. It does not seem to be present on 2.0.

Does anybody encoutered this problem too?

Cheers,
Richard

···

________________________________

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni


#2

Another detail:
It seems that last presence update (often incorrect) is shown on chat tab (on top). Whereas XMPP icon on left of text input shows presence of current resource - which is correct.

[cid:image005.jpg@01CE4B31.E3977E00][cid:image006.jpg@01CE4B31.E3977E00]

Richard

···

From: Richard Karmazín [mailto:karmazin@ipex.cz]

Sent: Tuesday, May 07, 2013 2:33 PM
To: dev@jitsi.java.net
Subject: [jitsi-dev] Multiple presence change notifications

Hi I run into very strange problem recently (2.2 stable and git).

Presence notifications from coleagues are multipled ... even when i change presence on GTALK I get _11_ notifications about how i got DND, away, then DND again etc.

This problem occurs on contacts from our jabber server as well as from other servers too. Seems to be related to number of resources of given contact.

I am trying to debug and updateChatTransportStatus of ChatPanel is called way to frequently on status change.

It is hard to believe i am the only one affected by this. It does not seem to be present on 2.0.

Does anybody encoutered this problem too?

Cheers,
Richard

________________________________

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni

________________________________

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni


#3

there are unverified rumours at our site (own jabber server, currently 5
test-users).

···

Am 07.05.2013 14:33, schrieb Richard Karmazín:

Hi I run into very strange problem recently (2.2 stable and git).

Presence notifications from coleagues are multipled ... even when i change presence on GTALK I get _11_ notifications about how i got DND, away, then DND again etc.

This problem occurs on contacts from our jabber server as well as from other servers too. Seems to be related to number of resources of given contact.

I am trying to debug and updateChatTransportStatus of ChatPanel is called way to frequently on status change.

It is hard to believe i am the only one affected by this. It does not seem to be present on 2.0.

Does anybody encoutered this problem too?

Cheers,
Richard

________________________________

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni


#4

Hey Richard,

Yana's latest commit addresses exactly this. We are basically hiding
status notifications for the time being.

We'll re-enable them once we've had the time to fix the issues (which
was caused by the introduction of the XMPP resources) ... although
people have been implying for a while that we'd be better off without them.

Emil

···

On 07.05.13, 15:48, Richard Karmazín wrote:

Another detail:

It seems that last presence update (often incorrect) is shown on chat
tab (on top). Whereas XMPP icon on left of text input shows presence of
current resource - which is correct.

Richard

*From:*Richard Karmazín [mailto:karmazin@ipex.cz]
*Sent:* Tuesday, May 07, 2013 2:33 PM
*To:* dev@jitsi.java.net
*Subject:* [jitsi-dev] Multiple presence change notifications

Hi I run into very strange problem recently (2.2 stable and git).

Presence notifications from coleagues are multipled … even when i change
presence on GTALK I get _/11/_ notifications about how i got DND, away,
then DND again etc.

This problem occurs on contacts from our jabber server as well as from
other servers too. Seems to be related to number of resources of given
contact.

I am trying to debug and updateChatTransportStatusof ChatPanel is called
way to frequently on status change.

It is hard to believe i am the only one affected by this. It does not
seem to be present on 2.0.

Does anybody encoutered this problem too?

Cheers,

Richard

------------------------------------------------------------------------

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni

------------------------------------------------------------------------

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni

--
https://jitsi.org


#5

Hi Richard,

Thanks for the report!

As Emil said we've disabled the status messages until the problem is fixed, but I'm currently looking at the problems you're describing and I'll try to provide a fix asap.

Cheers,
Yana

···

On May 7, 2013, at 3:48 PM, Richard Karmazín <karmazin@ipex.cz> wrote:

Another detail:
It seems that last presence update (often incorrect) is shown on chat tab (on top). Whereas XMPP icon on left of text input shows presence of current resource - which is correct.

<image005.jpg><image006.jpg>

Richard

From: Richard Karmazín [mailto:karmazin@ipex.cz]
Sent: Tuesday, May 07, 2013 2:33 PM
To: dev@jitsi.java.net
Subject: [jitsi-dev] Multiple presence change notifications

Hi I run into very strange problem recently (2.2 stable and git).

Presence notifications from coleagues are multipled … even when i change presence on GTALK I get _11_ notifications about how i got DND, away, then DND again etc.

This problem occurs on contacts from our jabber server as well as from other servers too. Seems to be related to number of resources of given contact.

I am trying to debug and updateChatTransportStatus of ChatPanel is called way to frequently on status change.

It is hard to believe i am the only one affected by this. It does not seem to be present on 2.0.

Does anybody encoutered this problem too?

Cheers,
Richard

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni


#6

Hi Emil,

I did try that (by impl.gui.SHOW_STATUS_CHANGED_IN_CHAT=false) ... but it got worse.

At start Jitsi icon in system tray flapped between online and away icon - then it worked for a while but got offline after that and it could not connect anymore. Colleague of mine got one core of CPU fully occupied by Jitsi (in Ubuntu). But we tried that only once so it may not be relevant to this problem.

It seemed like without showing of a status message it was a lot faster and processed more internal calls of updateChatTransportStatus function.

Richard

···

-----Original Message-----
From: Emil Ivov [mailto:emcho@jitsi.org]
Sent: Tuesday, May 07, 2013 3:18 PM
To: dev@jitsi.java.net
Cc: Richard Karmazín
Subject: Re: [jitsi-dev] Re: Multiple presence change notifications

Hey Richard,

Yana's latest commit addresses exactly this. We are basically hiding status notifications for the time being.

We'll re-enable them once we've had the time to fix the issues (which was caused by the introduction of the XMPP resources) ... although people have been implying for a while that we'd be better off without them.

Emil

On 07.05.13, 15:48, Richard Karmazín wrote:

Another detail:

It seems that last presence update (often incorrect) is shown on chat
tab (on top). Whereas XMPP icon on left of text input shows presence
of current resource - which is correct.

Richard

*From:*Richard Karmazín [mailto:karmazin@ipex.cz]
*Sent:* Tuesday, May 07, 2013 2:33 PM
*To:* dev@jitsi.java.net
*Subject:* [jitsi-dev] Multiple presence change notifications

Hi I run into very strange problem recently (2.2 stable and git).

Presence notifications from coleagues are multipled … even when i
change presence on GTALK I get _/11/_ notifications about how i got
DND, away, then DND again etc.

This problem occurs on contacts from our jabber server as well as from
other servers too. Seems to be related to number of resources of given
contact.

I am trying to debug and updateChatTransportStatusof ChatPanel is
called way to frequently on status change.

It is hard to believe i am the only one affected by this. It does not
seem to be present on 2.0.

Does anybody encoutered this problem too?

Cheers,

Richard

----------------------------------------------------------------------
--

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné znění
naleznete na stránce http://www.ipex.cz/prohlaseni

----------------------------------------------------------------------
--

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné znění
naleznete na stránce http://www.ipex.cz/prohlaseni

--
https://jitsi.org

________________________________

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni


#7

Hi Emil,

I did try that (by impl.gui.SHOW_STATUS_CHANGED_IN_CHAT=false) ... but it got worse.

In what way?

···

On 07.05.13, 17:00, Richard Karmazín wrote:

At start Jitsi icon in system tray flapped between online and away icon - then it worked for a while but got offline after that and it could not connect anymore. Colleague of mine got one core of CPU fully occupied by Jitsi (in Ubuntu). But we tried that only once so it may not be relevant to this problem.

It seemed like without showing of a status message it was a lot faster and processed more internal calls of updateChatTransportStatus function.

Richard

-----Original Message-----
From: Emil Ivov [mailto:emcho@jitsi.org]
Sent: Tuesday, May 07, 2013 3:18 PM
To: dev@jitsi.java.net
Cc: Richard Karmazín
Subject: Re: [jitsi-dev] Re: Multiple presence change notifications

Hey Richard,

Yana's latest commit addresses exactly this. We are basically hiding status notifications for the time being.

We'll re-enable them once we've had the time to fix the issues (which was caused by the introduction of the XMPP resources) ... although people have been implying for a while that we'd be better off without them.

Emil

On 07.05.13, 15:48, Richard Karmazín wrote:

Another detail:

It seems that last presence update (often incorrect) is shown on chat
tab (on top). Whereas XMPP icon on left of text input shows presence
of current resource - which is correct.

Richard

*From:*Richard Karmazín [mailto:karmazin@ipex.cz]
*Sent:* Tuesday, May 07, 2013 2:33 PM
*To:* dev@jitsi.java.net
*Subject:* [jitsi-dev] Multiple presence change notifications

Hi I run into very strange problem recently (2.2 stable and git).

Presence notifications from coleagues are multipled … even when i
change presence on GTALK I get _/11/_ notifications about how i got
DND, away, then DND again etc.

This problem occurs on contacts from our jabber server as well as from
other servers too. Seems to be related to number of resources of given
contact.

I am trying to debug and updateChatTransportStatusof ChatPanel is
called way to frequently on status change.

It is hard to believe i am the only one affected by this. It does not
seem to be present on 2.0.

Does anybody encoutered this problem too?

Cheers,

Richard

----------------------------------------------------------------------
--

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné znění
naleznete na stránce http://www.ipex.cz/prohlaseni

----------------------------------------------------------------------
--

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné znění
naleznete na stránce http://www.ipex.cz/prohlaseni

--
https://jitsi.org

________________________________

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni

--
https://jitsi.org


#8

Hi Emil,

I did try that (by impl.gui.SHOW_STATUS_CHANGED_IN_CHAT=false) ... but it got worse.

At start Jitsi icon in system tray flapped between online and away icon - then it worked for a while but got offline after that and it could not connect anymore. Colleague of mine got one core of CPU fully occupied by Jitsi (in Ubuntu). But we tried that only once so it may not be relevant to this problem.

Right, it doesn't sound like it is.

It seemed like without showing of a status message it was a lot faster and processed more internal calls of updateChatTransportStatus function.

I am not sure I got this. How many calls do you have to that function?
How are you tracking them?

Cheers,
Emil

···

On 07.05.13, 17:00, Richard Karmazín wrote:

Richard

-----Original Message-----
From: Emil Ivov [mailto:emcho@jitsi.org]
Sent: Tuesday, May 07, 2013 3:18 PM
To: dev@jitsi.java.net
Cc: Richard Karmazín
Subject: Re: [jitsi-dev] Re: Multiple presence change notifications

Hey Richard,

Yana's latest commit addresses exactly this. We are basically hiding status notifications for the time being.

We'll re-enable them once we've had the time to fix the issues (which was caused by the introduction of the XMPP resources) ... although people have been implying for a while that we'd be better off without them.

Emil

On 07.05.13, 15:48, Richard Karmazín wrote:

Another detail:

It seems that last presence update (often incorrect) is shown on chat
tab (on top). Whereas XMPP icon on left of text input shows presence
of current resource - which is correct.

Richard

*From:*Richard Karmazín [mailto:karmazin@ipex.cz]
*Sent:* Tuesday, May 07, 2013 2:33 PM
*To:* dev@jitsi.java.net
*Subject:* [jitsi-dev] Multiple presence change notifications

Hi I run into very strange problem recently (2.2 stable and git).

Presence notifications from coleagues are multipled … even when i
change presence on GTALK I get _/11/_ notifications about how i got
DND, away, then DND again etc.

This problem occurs on contacts from our jabber server as well as from
other servers too. Seems to be related to number of resources of given
contact.

I am trying to debug and updateChatTransportStatusof ChatPanel is
called way to frequently on status change.

It is hard to believe i am the only one affected by this. It does not
seem to be present on 2.0.

Does anybody encoutered this problem too?

Cheers,

Richard

----------------------------------------------------------------------
--

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné znění
naleznete na stránce http://www.ipex.cz/prohlaseni

----------------------------------------------------------------------
--

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné znění
naleznete na stránce http://www.ipex.cz/prohlaseni

--
https://jitsi.org

________________________________

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni

--
https://jitsi.org


#9

Hi,

It got worse by two things i described earlier (status flapping, 100% CPU usage). I failed to replicate any of these.

In retrospect I am not sure these were really caused just by hiding the notifications.

It seemed like without showing of a status message it was a lot faster and processed more internal calls of updateChatTransportStatus function.

I am not sure I got this. How many calls do you have to that function?

How are you tracking them?

I set a breakpoint in eclipse in function updateChatTransportStatus … this function was run multiple times for each status change (4-5x, with same contact but different … thats why there were so many notifications … I was not able to find out why … yet.

We just found new commit from Yana and it looks superb … we are going to test it right away.

Richard

···

-----Original Message-----
From: Emil Ivov [mailto:emcho@jitsi.org]
Sent: Tuesday, May 07, 2013 4:31 PM
To: Richard Karmazín
Cc: dev@jitsi.java.net
Subject: Re: [jitsi-dev] Re: Multiple presence change notifications

On 07.05.13, 17:00, Richard Karmazín wrote:

Hi Emil,

I did try that (by impl.gui.SHOW_STATUS_CHANGED_IN_CHAT=false) ... but it got worse.

In what way?

At start Jitsi icon in system tray flapped between online and away icon - then it worked for a while but got offline after that and it could not connect anymore. Colleague of mine got one core of CPU fully occupied by Jitsi (in Ubuntu). But we tried that only once so it may not be relevant to this problem.

It seemed like without showing of a status message it was a lot faster and processed more internal calls of updateChatTransportStatus function.

Richard

-----Original Message-----

From: Emil Ivov [mailto:emcho@jitsi.org]

Sent: Tuesday, May 07, 2013 3:18 PM

To: dev@jitsi.java.net<mailto:dev@jitsi.java.net>

Cc: Richard Karmazín

Subject: Re: [jitsi-dev] Re: Multiple presence change notifications

Hey Richard,

Yana's latest commit addresses exactly this. We are basically hiding status notifications for the time being.

We'll re-enable them once we've had the time to fix the issues (which was caused by the introduction of the XMPP resources) ... although people have been implying for a while that we'd be better off without them.

Emil

On 07.05.13, 15:48, Richard Karmazín wrote:

Another detail:

It seems that last presence update (often incorrect) is shown on chat

tab (on top). Whereas XMPP icon on left of text input shows presence

of current resource - which is correct.

Richard

*From:*Richard Karmazín [mailto:karmazin@ipex.cz]

*Sent:* Tuesday, May 07, 2013 2:33 PM

*To:* dev@jitsi.java.net<mailto:dev@jitsi.java.net>

*Subject:* [jitsi-dev] Multiple presence change notifications

Hi I run into very strange problem recently (2.2 stable and git).

Presence notifications from coleagues are multipled … even when i

change presence on GTALK I get _/11/_ notifications about how i got

DND, away, then DND again etc.

This problem occurs on contacts from our jabber server as well as

from other servers too. Seems to be related to number of resources of

given contact.

I am trying to debug and updateChatTransportStatusof ChatPanel is

called way to frequently on status change.

It is hard to believe i am the only one affected by this. It does not

seem to be present on 2.0.

Does anybody encoutered this problem too?

Cheers,

Richard

---------------------------------------------------------------------

-

--

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné

znění naleznete na stránce http://www.ipex.cz/prohlaseni

---------------------------------------------------------------------

-

--

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné

znění naleznete na stránce http://www.ipex.cz/prohlaseni

--

https://jitsi.org

________________________________

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné znění

naleznete na stránce http://www.ipex.cz/prohlaseni

--

https://jitsi.org

________________________________

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni


#10

Hi Richard,

Hi,

It got worse by two things i described earlier (status flapping, 100% CPU usage). I failed to replicate any of these.

I really don't think the status update could cause this 100% CPU usage even before my commit, so I thought it's worth mentioning, that some time ago I was experiencing the same problem, which was caused by an automatic selection of a wrong Notification audio device. So if my commit doesn't help in your case, could you please check your audio devices (in Preferences/Options/ Audio / Devices)?

Cheers,
Yana

···

On May 9, 2013, at 9:30 AM, Richard Karmazín <karmazin@ipex.cz> wrote:

In retrospect I am not sure these were really caused just by hiding the notifications.

>> It seemed like without showing of a status message it was a lot faster and processed more internal calls of updateChatTransportStatus function.
>I am not sure I got this. How many calls do you have to that function?
>How are you tracking them?

I set a breakpoint in eclipse in function updateChatTransportStatus … this function was run multiple times for each status change (4-5x, with same contact but different … thats why there were so many notifications … I was not able to find out why … yet.

We just found new commit from Yana and it looks superb … we are going to test it right away.

Richard

-----Original Message-----
From: Emil Ivov [mailto:emcho@jitsi.org]
Sent: Tuesday, May 07, 2013 4:31 PM
To: Richard Karmazín
Cc: dev@jitsi.java.net
Subject: Re: [jitsi-dev] Re: Multiple presence change notifications

On 07.05.13, 17:00, Richard Karmazín wrote:
> Hi Emil,
>
> I did try that (by impl.gui.SHOW_STATUS_CHANGED_IN_CHAT=false) ... but it got worse.
In what way?

>
> At start Jitsi icon in system tray flapped between online and away icon - then it worked for a while but got offline after that and it could not connect anymore. Colleague of mine got one core of CPU fully occupied by Jitsi (in Ubuntu). But we tried that only once so it may not be relevant to this problem.

>
> It seemed like without showing of a status message it was a lot faster and processed more internal calls of updateChatTransportStatus function.
>
>
> Richard
>
> -----Original Message-----
> From: Emil Ivov [mailto:emcho@jitsi.org]
> Sent: Tuesday, May 07, 2013 3:18 PM
> To: dev@jitsi.java.net
> Cc: Richard Karmazín
> Subject: Re: [jitsi-dev] Re: Multiple presence change notifications
>
> Hey Richard,
>
> Yana's latest commit addresses exactly this. We are basically hiding status notifications for the time being.
>
> We'll re-enable them once we've had the time to fix the issues (which was caused by the introduction of the XMPP resources) ... although people have been implying for a while that we'd be better off without them.
>
> Emil
>
>
>
>
>
> On 07.05.13, 15:48, Richard Karmazín wrote:
>> Another detail:
>>
>> It seems that last presence update (often incorrect) is shown on chat
>> tab (on top). Whereas XMPP icon on left of text input shows presence
>> of current resource - which is correct.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Richard
>>
>>
>>
>> *From:*Richard Karmazín [mailto:karmazin@ipex.cz]
>> *Sent:* Tuesday, May 07, 2013 2:33 PM
>> *To:* dev@jitsi.java.net
>> *Subject:* [jitsi-dev] Multiple presence change notifications
>>
>>
>>
>> Hi I run into very strange problem recently (2.2 stable and git).
>>
>>
>>
>> Presence notifications from coleagues are multipled … even when i
>> change presence on GTALK I get _/11/_ notifications about how i got
>> DND, away, then DND again etc.
>>
>>
>>
>> This problem occurs on contacts from our jabber server as well as
>> from other servers too. Seems to be related to number of resources of
>> given contact.
>>
>>
>>
>> I am trying to debug and updateChatTransportStatusof ChatPanel is
>> called way to frequently on status change.
>>
>>
>>
>> It is hard to believe i am the only one affected by this. It does not
>> seem to be present on 2.0.
>>
>>
>>
>> Does anybody encoutered this problem too?
>>
>>
>>
>>
>>
>> Cheers,
>>
>> Richard
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> -
>> --
>>
>>
>> Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné
>> znění naleznete na stránce http://www.ipex.cz/prohlaseni
>>
>>
>> ---------------------------------------------------------------------
>> -
>> --
>>
>> Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné
>> znění naleznete na stránce http://www.ipex.cz/prohlaseni
> --
> https://jitsi.org
>
>
> ________________________________
>
> Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož plné znění
> naleznete na stránce http://www.ipex.cz/prohlaseni

--
https://jitsi.org

Prohlášení: k tomuto e-mailu je připojeno prohlášení, jehož
plné znění naleznete na stránce http://www.ipex.cz/prohlaseni