[jitsi-dev] IRC caused freeze (potentially)


#1

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

路路路

--
https://jitsi.org


#2

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

路路路

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil


#3

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when IRC account is active. Takes a few minutes but then CPU usage rises and fans start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which only the first or none connects.

Hope this helps, would be great to see addressed since I switched back to Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

路路路

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl>:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#4
路路路

Hi all,

  This is exactly what crossed my mind as soon as I read Emil's

message. I can鈥檛 yet think of a reason for the huge CPU spikes.
There are 2 points where I wait for an asynchronous call to
finish, where I thought I was on a dedicated thread (now I鈥檓 not
sure, so I鈥檓 going to check that). That may be a mistake, but that
still doesn鈥檛 explain the spikes.

  I will look at this as soon as possible.

  Kind regards,

  Danny

  On 08/26/2014 09:43 PM, Foss wrote:

Hi all,

    this is the CPU spikes I reported earlier (maybe?). 22nd aug

鈥濲itsi CPU spikes鈥.

    I played some more with enabling and disableing IRC. It only

occurs when IRC account is active. Takes a few minutes but then
CPU usage rises and fans start spinning like crazy.

    I have two low traffic IRC channels with few users on

auto-join of which only the first or none connects.

    Hope this helps, would be great to see addressed since I

switched back to Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen danny@dannyvanheumen.nl:

Hi Emil (and others),

        I don't have time atm for a full response, but I can only

think of

        things I'm doing in the AWT event thread as the result of a

user action

        in the UI. (Most operations are async by nature, though, so

I only need

        to initiate something.) The only thing I noticed is that

Jitsi does some

        pretty heavy user look-ups. With a few chat rooms with 100s

of users

        that can be quite a number. I have noticed a delay from

that, though.

        Obviously there is a thread running for the IRC connection,

but that

        occurs in the background, otherwise I wouldn't be able to

return. I am

        not surprised though that you find something ... it was far

too quiet :stuck_out_tongue:

        Can you do the obvious checks like running with IRC protocol

disabled,

        with and without existing connection, with or without open

chat room? At

        least that way we know when it does or doesn't happen. And

you should

        also get a pretty good impression of what is going on by

enabling FINE

        logging. It's quite verbose but FINE doesn't output actual

IRC messages

        yet, so it should be managable.



        I'll look into this soon.



        Danny







        On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

          So first of all, a huge THANK YOU, for all the hard work

on this one!

          You've done an awesome job and I am finally reliably back

on our IRC

          channel thanks to you! :)



          The plugin works really great!



          I only have one suspicion for a potential issue. Since I

installed it,

          my Jitsi instance GUI freezes on occasion. It unlocks

after about 10鈥欌

          to 20'' but it then happens again after a while. I wasn't

really sure

          this had anything to do with IRC, until Pawel mentioned

today that he

          saw the same issue after starting to use it.



          This is still not proof and it probably needs more serious

          investigation but can you think of something that you

might be doing

          in the AWT Event Dispatch thread?



          Emil
        _______________________________________________

        dev mailing list

        dev@jitsi.org

        Unsubscribe instructions and other list options:

_______________________________________________
dev mailing list
Unsubscribe instructions and other list options:

http://lists.jitsi.org/mailman/listinfo/dev
dev@jitsi.orghttp://lists.jitsi.org/mailman/listinfo/dev


#5

It might help Danny if you could send a Java thread dump when the issue occurs. The one you sent earlier only includes the native code from OSX and unfortunately isn't useful for debugging.

Freundliche Gr眉sse,
Ingo Bauersachs

-- sent from my mobile

路路路

Le 27.08.2014 脿 03:45, "Foss" <foss@openmailbox.org> a 茅crit :

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when IRC account is active. Takes a few minutes but then CPU usage rises and fans start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which only the first or none connects.

Hope this helps, would be great to see addressed since I switched back to Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl>:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:
Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#6
路路路

Hey Foss,

  Can you check if the CPU spike(s) start after you have listed the available IRC chat rooms?

  (So "File" -> "Add chat room" -> "List")

  And could you also confirm that, if you do not touch IRC chat rooms listing (after a clean start of the program), that CPU stays as normal?

  Thanks!

  Danny

  On 26-08-14 21:43, Foss wrote:

Hi all,

    this is the CPU spikes I reported earlier (maybe?). 22nd aug 锟絁itsi CPU spikes锟.
    I played some more with enabling and disableing IRC. It only occurs when IRC account is active. Takes a few minutes but then CPU usage rises and fans start spinning like crazy.
    I have two low traffic IRC channels with few users on auto-join of which only the first or none connects.
    Hope this helps, would be great to see addressed since I switched back to Adium. I锟絤 afraid my laptop will melt ;)

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen danny@dannyvanheumen.nl:

Hi Emil (and others),

        I don't have time atm for a full response, but I can only think of

        things I'm doing in the AWT event thread as the result of a user action

        in the UI. (Most operations are async by nature, though, so I only need

        to initiate something.) The only thing I noticed is that Jitsi does some

        pretty heavy user look-ups. With a few chat rooms with 100s of users

        that can be quite a number. I have noticed a delay from that, though.



        Obviously there is a thread running for the IRC connection, but that

        occurs in the background, otherwise I wouldn't be able to return. I am

        not surprised though that you find something ... it was far too quiet :-P



        Can you do the obvious checks like running with IRC protocol disabled,

        with and without existing connection, with or without open chat room? At

        least that way we know when it does or doesn't happen. And you should

        also get a pretty good impression of what is going on by enabling FINE

        logging. It's quite verbose but FINE doesn't output actual IRC messages

        yet, so it should be managable.



        I'll look into this soon.



        Danny







        On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

          So first of all, a huge THANK YOU, for all the hard work on this one!

          You've done an awesome job and I am finally reliably back on our IRC

          channel thanks to you! :)



          The plugin works really great!



          I only have one suspicion for a potential issue. Since I installed it,

          my Jitsi instance GUI freezes on occasion. It unlocks after about 10''

          to 20'' but it then happens again after a while. I wasn't really sure

          this had anything to do with IRC, until Pawel mentioned today that he

          saw the same issue after starting to use it.



          This is still not proof and it probably needs more serious

          investigation but can you think of something that you might be doing

          in the AWT Event Dispatch thread?



          Emil

#7

Hi all,

I'm quite confident that I have tracked the cause for the "Jitsi CPU
spikes". I haven't fixed it (yet), but for the record I want to put my
findings on the mailing list.

It seems that the spikes are caused by the manner in which available
chat rooms are inserted into the UI list control in the server chat room
list dialog. After each chat room that gets added to the list a
Sort-operation automatically gets called. Now, for a few chat rooms,
this is not a big deal. However, since an IRC server can easily host
16.000+ chat rooms, sorting after each individual insertion will result
in a rather large backlog of sorting operations of which every but the
last one is useless.

Danny

路路路

On 26-08-14 21:43, Foss wrote:

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 锟絁itsi
CPU spikes锟.

I played some more with enabling and disableing IRC. It only occurs
when IRC account is active. Takes a few minutes but then CPU usage
rises and fans start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of
which only the first or none connects.

Hope this helps, would be great to see addressed since I switched back
to Adium. I锟絤 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen
<danny@dannyvanheumen.nl <mailto:danny@dannyvanheumen.nl>>:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org <mailto:dev@jitsi.org>
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#8

Quick comment: the blockages I mentioned did NOT seem to have any effect on
the CPU whatsoever. There weren't any spikes

--sent from my mobile

路路路

On 26 Aug 2014 11:57 PM, "Danny van Heumen" <danny@dannyvanheumen.nl> wrote:

Hi all,

This is exactly what crossed my mind as soon as I read Emil's message. I
can't yet think of a reason for the huge CPU spikes. There are 2 points
where I wait for an asynchronous call to finish, where I thought I was on a
dedicated thread (now I'm not sure, so I'm going to check that). That may
be a mistake, but that still doesn't explain the spikes.

I will look at this as soon as possible.

Kind regards,
Danny

On 08/26/2014 09:43 PM, Foss wrote:

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU
spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when
IRC account is active. Takes a few minutes but then CPU usage rises and
fans start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which
only the first or none connects.

Hope this helps, would be great to see addressed since I switched back
to Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl > >:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing listdev@jitsi.org
Unsubscribe instructions and other list options:http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#9

Yes, I was going to. Just haven't had the time to look into this yet.

路路路

On Wed, Aug 27, 2014 at 8:01 AM, Ingo Bauersachs <ingo@jitsi.org> wrote:

It might help Danny if you could send a Java thread dump when the issue
occurs. The one you sent earlier only includes the native code from OSX and
unfortunately isn't useful for debugging.

Freundliche Gr眉sse,
Ingo Bauersachs

-- sent from my mobile

Le 27.08.2014 脿 03:45, "Foss" <foss@openmailbox.org> a 茅crit :

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU
spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when IRC
account is active. Takes a few minutes but then CPU usage rises and fans
start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which
only the first or none connects.

Hope this helps, would be great to see addressed since I switched back to
Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl>:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org


#10

Nope. Had the freeze even without IRC enabled.

路路路

On Wed, Aug 27, 2014 at 8:12 AM, Emil Ivov <emcho@jitsi.org> wrote:

Yes, I was going to. Just haven't had the time to look into this yet.

On Wed, Aug 27, 2014 at 8:01 AM, Ingo Bauersachs <ingo@jitsi.org> wrote:

It might help Danny if you could send a Java thread dump when the issue
occurs. The one you sent earlier only includes the native code from OSX and
unfortunately isn't useful for debugging.

Freundliche Gr眉sse,
Ingo Bauersachs

-- sent from my mobile

Le 27.08.2014 脿 03:45, "Foss" <foss@openmailbox.org> a 茅crit :

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU
spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when IRC
account is active. Takes a few minutes but then CPU usage rises and fans
start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which
only the first or none connects.

Hope this helps, would be great to see addressed since I switched back to
Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl>:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

--
https://jitsi.org


#11

Hi all,

I've pushed a change to master which significantly improves the CPU load
for adding 16000+ chat rooms.

This change does not completely remove the CPU load, but it is decreased
significantly enough that one can wait for it to finish. It usually
takes in the order of a few seconds to handle the insertions. The
current implementation inserts a chat room at the correct position in
the list, such that it is not necessary to do any sorting.

Danny

路路路

On 29-10-14 22:52, Danny van Heumen wrote:

Hi all,

I'm quite confident that I have tracked the cause for the "Jitsi CPU
spikes". I haven't fixed it (yet), but for the record I want to put my
findings on the mailing list.

It seems that the spikes are caused by the manner in which available
chat rooms are inserted into the UI list control in the server chat room
list dialog. After each chat room that gets added to the list a
Sort-operation automatically gets called. Now, for a few chat rooms,
this is not a big deal. However, since an IRC server can easily host
16.000+ chat rooms, sorting after each individual insertion will result
in a rather large backlog of sorting operations of which every but the
last one is useless.

Danny

On 26-08-14 21:43, Foss wrote:

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 锟絁itsi
CPU spikes锟.

[...]


#12

... and the plot thickens!

Anyways, I've checked but everywhere where I actually wait for an async
operation (just to be sure), its in a different thread then the AWT
event thread, and even different threads alltogether. So no easy fix there.

I'm wondering ... would it have anything to do with the garbage
collector? ... that would be a good reason why everything stops for a
bit ... though 10 seconds is quite long for the GC in this case, I think.

On what OS and version of the JRE are you running when it happens?

Kind regards,
Danny

路路路

On 08/27/2014 03:10 PM, Emil Ivov wrote:

Nope. Had the freeze even without IRC enabled.

On Wed, Aug 27, 2014 at 8:12 AM, Emil Ivov <emcho@jitsi.org> wrote:

Yes, I was going to. Just haven't had the time to look into this yet.

On Wed, Aug 27, 2014 at 8:01 AM, Ingo Bauersachs <ingo@jitsi.org> wrote:

It might help Danny if you could send a Java thread dump when the issue
occurs. The one you sent earlier only includes the native code from OSX and
unfortunately isn't useful for debugging.

Freundliche Gr眉sse,
Ingo Bauersachs

-- sent from my mobile

Le 27.08.2014 脿 03:45, "Foss" <foss@openmailbox.org> a 茅crit :

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU
spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when IRC
account is active. Takes a few minutes but then CPU usage rises and fans
start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which
only the first or none connects.

Hope this helps, would be great to see addressed since I switched back to
Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl>:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org


#13

FWIW, the reason for the freeze (discovered by Damencho) was a
misbehaving OS beep that would occur when backspacing into emptiness
for example.

In other words: totally unrelated to IRC.

路路路

On Wed, Aug 27, 2014 at 10:23 PM, Danny van Heumen <danny@dannyvanheumen.nl> wrote:

... and the plot thickens!

Anyways, I've checked but everywhere where I actually wait for an async
operation (just to be sure), its in a different thread then the AWT
event thread, and even different threads alltogether. So no easy fix there.

I'm wondering ... would it have anything to do with the garbage
collector? ... that would be a good reason why everything stops for a
bit ... though 10 seconds is quite long for the GC in this case, I think.

On what OS and version of the JRE are you running when it happens?

Kind regards,
Danny

On 08/27/2014 03:10 PM, Emil Ivov wrote:

Nope. Had the freeze even without IRC enabled.

On Wed, Aug 27, 2014 at 8:12 AM, Emil Ivov <emcho@jitsi.org> wrote:

Yes, I was going to. Just haven't had the time to look into this yet.

On Wed, Aug 27, 2014 at 8:01 AM, Ingo Bauersachs <ingo@jitsi.org> wrote:

It might help Danny if you could send a Java thread dump when the issue
occurs. The one you sent earlier only includes the native code from OSX and
unfortunately isn't useful for debugging.

Freundliche Gr眉sse,
Ingo Bauersachs

-- sent from my mobile

Le 27.08.2014 脿 03:45, "Foss" <foss@openmailbox.org> a 茅crit :

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU
spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when IRC
account is active. Takes a few minutes but then CPU usage rises and fans
start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which
only the first or none connects.

Hope this helps, would be great to see addressed since I switched back to
Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl>:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org


#14

and that discovered freeze was fixed already?

路路路

Am 04.09.2014 um 10:27 schrieb Emil Ivov <emcho@jitsi.org>:

FWIW, the reason for the freeze (discovered by Damencho) was a
misbehaving OS beep that would occur when backspacing into emptiness
for example.

In other words: totally unrelated to IRC.

On Wed, Aug 27, 2014 at 10:23 PM, Danny van Heumen > <danny@dannyvanheumen.nl> wrote:

... and the plot thickens!

Anyways, I've checked but everywhere where I actually wait for an async
operation (just to be sure), its in a different thread then the AWT
event thread, and even different threads alltogether. So no easy fix there.

I'm wondering ... would it have anything to do with the garbage
collector? ... that would be a good reason why everything stops for a
bit ... though 10 seconds is quite long for the GC in this case, I think.

On what OS and version of the JRE are you running when it happens?

Kind regards,
Danny

On 08/27/2014 03:10 PM, Emil Ivov wrote:

Nope. Had the freeze even without IRC enabled.

On Wed, Aug 27, 2014 at 8:12 AM, Emil Ivov <emcho@jitsi.org> wrote:

Yes, I was going to. Just haven't had the time to look into this yet.

On Wed, Aug 27, 2014 at 8:01 AM, Ingo Bauersachs <ingo@jitsi.org> wrote:

It might help Danny if you could send a Java thread dump when the issue
occurs. The one you sent earlier only includes the native code from OSX and
unfortunately isn't useful for debugging.

Freundliche Gr眉sse,
Ingo Bauersachs

-- sent from my mobile

Le 27.08.2014 脿 03:45, "Foss" <foss@openmailbox.org> a 茅crit :

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU
spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when IRC
account is active. Takes a few minutes but then CPU usage rises and fans
start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which
only the first or none connects.

Hope this helps, would be great to see addressed since I switched back to
Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl>:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#15

Hi Emil, thanks for letting me know.

路路路

On 09/04/2014 10:27 AM, Emil Ivov wrote:

FWIW, the reason for the freeze (discovered by Damencho) was a
misbehaving OS beep that would occur when backspacing into emptiness
for example.

In other words: totally unrelated to IRC.

On Wed, Aug 27, 2014 at 10:23 PM, Danny van Heumen > <danny@dannyvanheumen.nl> wrote:

... and the plot thickens!

Anyways, I've checked but everywhere where I actually wait for an async
operation (just to be sure), its in a different thread then the AWT
event thread, and even different threads alltogether. So no easy fix there.

I'm wondering ... would it have anything to do with the garbage
collector? ... that would be a good reason why everything stops for a
bit ... though 10 seconds is quite long for the GC in this case, I think.

On what OS and version of the JRE are you running when it happens?

Kind regards,
Danny

On 08/27/2014 03:10 PM, Emil Ivov wrote:

Nope. Had the freeze even without IRC enabled.

On Wed, Aug 27, 2014 at 8:12 AM, Emil Ivov <emcho@jitsi.org> wrote:

Yes, I was going to. Just haven't had the time to look into this yet.

On Wed, Aug 27, 2014 at 8:01 AM, Ingo Bauersachs <ingo@jitsi.org> wrote:

It might help Danny if you could send a Java thread dump when the issue
occurs. The one you sent earlier only includes the native code from OSX and
unfortunately isn't useful for debugging.

Freundliche Gr眉sse,
Ingo Bauersachs

-- sent from my mobile

Le 27.08.2014 脿 03:45, "Foss" <foss@openmailbox.org> a 茅crit :

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU
spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when IRC
account is active. Takes a few minutes but then CPU usage rises and fans
start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which
only the first or none connects.

Hope this helps, would be great to see addressed since I switched back to
Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl>:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#16

It was an OS issue that applied to many other applications and an OS
restart seems to have resolved it.

--sent from my mobile

路路路

On 04 Sep 2014 2:46 PM, "Foss" <foss@openmailbox.org> wrote:

and that discovered freeze was fixed already?

Am 04.09.2014 um 10:27 schrieb Emil Ivov <emcho@jitsi.org>:

FWIW, the reason for the freeze (discovered by Damencho) was a
misbehaving OS beep that would occur when backspacing into emptiness
for example.

In other words: totally unrelated to IRC.

On Wed, Aug 27, 2014 at 10:23 PM, Danny van Heumen > <danny@dannyvanheumen.nl> wrote:

... and the plot thickens!

Anyways, I've checked but everywhere where I actually wait for an async
operation (just to be sure), its in a different thread then the AWT
event thread, and even different threads alltogether. So no easy fix there.

I'm wondering ... would it have anything to do with the garbage
collector? ... that would be a good reason why everything stops for a
bit ... though 10 seconds is quite long for the GC in this case, I think.

On what OS and version of the JRE are you running when it happens?

Kind regards,
Danny

On 08/27/2014 03:10 PM, Emil Ivov wrote:

Nope. Had the freeze even without IRC enabled.

On Wed, Aug 27, 2014 at 8:12 AM, Emil Ivov <emcho@jitsi.org> wrote:

Yes, I was going to. Just haven't had the time to look into this yet.

On Wed, Aug 27, 2014 at 8:01 AM, Ingo Bauersachs <ingo@jitsi.org> wrote:

It might help Danny if you could send a Java thread dump when the issue
occurs. The one you sent earlier only includes the native code from OSX and
unfortunately isn't useful for debugging.

Freundliche Gr眉sse,
Ingo Bauersachs

-- sent from my mobile

Le 27.08.2014 脿 03:45, "Foss" <foss@openmailbox.org> a 茅crit :

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU
spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when
IRC
account is active. Takes a few minutes but then CPU usage rises and fans
start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which
only the first or none connects.

Hope this helps, would be great to see addressed since I switched back to
Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl>:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#17

I don't think that this has any relation to the CPU consumption issue that
you are reporting though.

--sent from my mobile

路路路

On 04 Sep 2014 3:47 PM, "Emil Ivov" <emcho@jitsi.org> wrote:

It was an OS issue that applied to many other applications and an OS
restart seems to have resolved it.

--sent from my mobile
On 04 Sep 2014 2:46 PM, "Foss" <foss@openmailbox.org> wrote:

and that discovered freeze was fixed already?

Am 04.09.2014 um 10:27 schrieb Emil Ivov <emcho@jitsi.org>:

FWIW, the reason for the freeze (discovered by Damencho) was a
misbehaving OS beep that would occur when backspacing into emptiness
for example.

In other words: totally unrelated to IRC.

On Wed, Aug 27, 2014 at 10:23 PM, Danny van Heumen >> <danny@dannyvanheumen.nl> wrote:

... and the plot thickens!

Anyways, I've checked but everywhere where I actually wait for an async
operation (just to be sure), its in a different thread then the AWT
event thread, and even different threads alltogether. So no easy fix
there.

I'm wondering ... would it have anything to do with the garbage
collector? ... that would be a good reason why everything stops for a
bit ... though 10 seconds is quite long for the GC in this case, I think.

On what OS and version of the JRE are you running when it happens?

Kind regards,
Danny

On 08/27/2014 03:10 PM, Emil Ivov wrote:

Nope. Had the freeze even without IRC enabled.

On Wed, Aug 27, 2014 at 8:12 AM, Emil Ivov <emcho@jitsi.org> wrote:

Yes, I was going to. Just haven't had the time to look into this yet.

On Wed, Aug 27, 2014 at 8:01 AM, Ingo Bauersachs <ingo@jitsi.org> wrote:

It might help Danny if you could send a Java thread dump when the issue
occurs. The one you sent earlier only includes the native code from OSX
and
unfortunately isn't useful for debugging.

Freundliche Gr眉sse,
Ingo Bauersachs

-- sent from my mobile

Le 27.08.2014 脿 03:45, "Foss" <foss@openmailbox.org> a 茅crit :

Hi all,

this is the CPU spikes I reported earlier (maybe?). 22nd aug 鈥濲itsi CPU
spikes鈥.

I played some more with enabling and disableing IRC. It only occurs when
IRC
account is active. Takes a few minutes but then CPU usage rises and fans
start spinning like crazy.

I have two low traffic IRC channels with few users on auto-join of which
only the first or none connects.

Hope this helps, would be great to see addressed since I switched back to
Adium. I鈥檓 afraid my laptop will melt :wink:

Cheers

Am 26.08.2014 um 19:45 schrieb Danny van Heumen <danny@dannyvanheumen.nl >> >:

Hi Emil (and others),

I don't have time atm for a full response, but I can only think of
things I'm doing in the AWT event thread as the result of a user action
in the UI. (Most operations are async by nature, though, so I only need
to initiate something.) The only thing I noticed is that Jitsi does some
pretty heavy user look-ups. With a few chat rooms with 100s of users
that can be quite a number. I have noticed a delay from that, though.

Obviously there is a thread running for the IRC connection, but that
occurs in the background, otherwise I wouldn't be able to return. I am
not surprised though that you find something ... it was far too quiet :stuck_out_tongue:

Can you do the obvious checks like running with IRC protocol disabled,
with and without existing connection, with or without open chat room? At
least that way we know when it does or doesn't happen. And you should
also get a pretty good impression of what is going on by enabling FINE
logging. It's quite verbose but FINE doesn't output actual IRC messages
yet, so it should be managable.

I'll look into this soon.

Danny

On 08/26/2014 06:06 PM, Emil Ivov wrote:

Hey Danny,

So first of all, a huge THANK YOU, for all the hard work on this one!
You've done an awesome job and I am finally reliably back on our IRC
channel thanks to you! :slight_smile:

The plugin works really great!

I only have one suspicion for a potential issue. Since I installed it,
my Jitsi instance GUI freezes on occasion. It unlocks after about 10''
to 20'' but it then happens again after a while. I wasn't really sure
this had anything to do with IRC, until Pawel mentioned today that he
saw the same issue after starting to use it.

This is still not proof and it probably needs more serious
investigation but can you think of something that you might be doing
in the AWT Event Dispatch thread?

Emil

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev