When extension activater, TB takes 75/80% of CPU every three minutes...

740 views
Skip to first unread message

fxbrg

unread,
Oct 20, 2008, 5:55:41 AM10/20/08
to Provider for Google Calendar
Hello :-)

My configuration ! TB 2.0.0.17, Lightning 0.9, Google Calendar
Provider 0.5.1.

For the last days/weeks, I can see TB taking a huge load of the CPU.

I use 4 accounts, compacted them all (they weren't really big), no
change.

I normally use the above mentionned extensions together with
BirdieSync, Attachment size and Quicktext. I deactivated all of them,
TB was running fine and smooth. Reactivating them one by one, I come
to the conclusion that with Lightning AND GCP, the problem occurs.

I changed the refresh option in Lightning for remote calendars, but no
change. Where do those 3 minutes come from? I monitor with procexp,
the charts are very conclusive.

I ran TB alone (I usually have 2 windows of Firefox and 10/20 tabs
open, + a few other applications), but no difference.

One other thing : in the extension management menu, the option button
of GCP is greyed. Is it normal? is it where I can change this 3
minutes setting?

Thanks for your advice/help,

All the best,

JF

fxbrg

unread,
Oct 24, 2008, 6:56:14 AM10/24/08
to Provider for Google Calendar
A little Up... Am I the only one to get this problem?

TIA,

JF

Philipp Kewisch

unread,
Oct 31, 2008, 5:44:58 AM10/31/08
to Provider for Google Calendar


On Oct 20, 10:55 am, fxbrg <fxbrg...@gmail.com> wrote:

> I changed the refresh option in Lightning for remote calendars, but no
> change. Where do those 3 minutes come from? I monitor with procexp,
> the charts are very conclusive.
Probably you have a very large calendar, and have caching enabled? The
cache syncs every 4 minutes. Please disable the cache for now, or
remove old events from your calendar.

> One other thing : in the extension management menu, the option button
> of GCP is greyed. Is it normal? is it where I can change this 3
> minutes setting?
I'm not quite sure if there is a general preference for this. In the
worst case you might need to change lightning source code in the .xpi
file (js/calCachedCalendar.js, search for cache.updateTimer)

uk63

unread,
Nov 9, 2008, 11:13:11 AM11/9/08
to Provider for Google Calendar
Hi -

I got the exact same configuration and run into the exact same
problems. Really frustrating. Everything was just fine - until I
updated Thunderbird to the recent version. Has anyone found a remdy
for that yet?
Regards,
Uwe

fxbrg

unread,
Nov 10, 2008, 5:25:18 PM11/10/08
to Provider for Google Calendar
Hi uk63, I feel less lonely :-)

fxbrg

unread,
Nov 10, 2008, 5:25:51 PM11/10/08
to Provider for Google Calendar
Hi uk63, I feel less lonely :-)


On Nov 9, 5:13 pm, uk63 <uwe.kl...@googlemail.com> wrote:

fxbrg

unread,
Nov 10, 2008, 5:27:17 PM11/10/08
to Provider for Google Calendar
Phillip,

My calendar is quite normal (a few appointments a week, with only two
repeated each week), which cache are you talking about? Anyway, the
problem occurs every 3 minutes, not four, sorry :-)

The option button is greyed on purpose, I read that on GCP site.

Sorry for the last solution, it's above my competences...

Still living with this trouble, very annoying. It seems to be even
more disturbing if TB is on the forefront (I use 2 monitors : if I let
TB run on one of them, I can't watch a movie on the second one for
instance, it will freeze every 3 minutes. On the other hand, if TB is
running in the back, no problem...).

Hope this will be fixed soon..

Thanks,

JF

fxbrg

unread,
Nov 10, 2008, 5:27:32 PM11/10/08
to Provider for Google Calendar
Phillip,

My calendar is quite normal (a few appointments a week, with only two
repeated each week), which cache are you talking about? Anyway, the
problem occurs every 3 minutes, not four, sorry :-)

The option button is greyed on purpose, I read that on GCP site.

Sorry for the last solution, it's above my competences...

Still living with this trouble, very annoying. It seems to be even
more disturbing if TB is on the forefront (I use 2 monitors : if I let
TB run on one of them, I can't watch a movie on the second one for
instance, it will freeze every 3 minutes. On the other hand, if TB is
running in the back, no problem...).

Hope this will be fixed soon..

Thanks,

JF

On Oct 31, 10:44 am, Philipp Kewisch <kewi...@gmail.com> wrote:

Philipp Kewisch

unread,
Nov 13, 2008, 3:17:41 AM11/13/08
to Provider for Google Calendar
With the cache I mean the one in the calendar properties (right click
on calendar, properties, experimental cache).

Do you have your calendar set to autorefresh after 3 minutes maybe?
(edit/tools -> preferences -> lightning -> (general, I believe) ->
Autorefresh after XXX minutes)

Philipp

Gnosos

unread,
Nov 16, 2008, 9:25:59 PM11/16/08
to Provider for Google Calendar
I'm having the same problem. Every few minutes TBird starts processing
and becomes useless. The processing can last a few minutes, so this is
unacceptable.

I also did a process of elimination until I found Provider to be the
culprit.

I checked all my calendars, and none of them have cache checked. I
have autorefresh set to 30 minutes.

What's Provider doing that it needs all that CPU? Is there any way to
configure this behavior so it's not so intrusive?

Thanks/

fxbrg

unread,
Nov 17, 2008, 8:23:23 AM11/17/08
to Provider for Google Calendar
Hello Phillipp,

My cache is disabled fpr both calendars, and the refresh option is
disabled as well (I tried to set it up at 480mn for instance and
activate it, but no change)

I have disabled GCP, as it is "unlivable"...waiting for the solution
to come up. I hope it comes soon, as I am not the only one with the
problem.

For the matter, I use XP Pro, SP3. Maybe uk63 and Gnosos should tell
what their configuration lokks like....?

Thanks,

JF

uk63

unread,
Nov 17, 2008, 8:34:14 AM11/17/08
to Provider for Google Calendar
Hi,

my config: Win XP Home SP3, Thunderbird 2.0.0.17, lightning 0.9,
Provider for Google calender 0.5.1. No caching, refresh is set to 30
min. Nonetheless, every 3 or 4 minutes there's this annoying freezing
of my PC due to TB consuming all CPU. It is really frustrating... I
wish I could find a way around this problem (as I mentioned earlier,
it just appeared after the last TB update). If it stays like this, I
guess I need to find some other way to integrate mail, calendar and to-
do-lists. I'd hate that, though, because I used to see the TB -
lightning - provider combo as exactly what I had been looking for :-(

What other info could be relevant? 5 calendars, only 2 of them are
writeable.

Desperate,
Uk63

Gnosos

unread,
Nov 17, 2008, 8:43:43 AM11/17/08
to Provider for Google Calendar
I've got the same configuration: XP Pro, SP3. My system also has a 2.8
MHz Intel P4, 4GB of RAM (yeah, I know 32-bit Windows, but have you
tried running x64?), a 115GB IDE drive, and a very partitioned 300GB
SATA drive with a bit of a space problem on C: (3.2 GB free out of 116
-- I'm working on this).

Gnosos

unread,
Nov 17, 2008, 8:48:25 AM11/17/08
to Provider for Google Calendar
I probably should have mentioned that I have four calendars: one for
work and one for personal schedules, the other two are read-only
holiday calendars. The holiday calendars, of course, have lots of
entries because they are multi-year. I also like to keep records of my
past activities, so my work and personal calendars are substantial.

Gnosos

unread,
Nov 17, 2008, 8:52:28 AM11/17/08
to Provider for Google Calendar
Process Explorer shows the CPU cycles are being taken up by a process
thread at Thunderbird.exe!jpeg_free_large+0x584a.

Gnosos

unread,
Nov 17, 2008, 11:17:59 AM11/17/08
to Provider for Google Calendar
Wow. In order to use Thunderbird for email, I disabled Provider. After
working with Thunderbird for a while, I wanted to add something to my
calendar, so I enabled Provider and restarted. Lo and Behold, my
Google calendars were gone.

I'd like to see Provider be more graceful and leave the calendars
there, just not allowing two-way interaction. Then, when Provider is
enabled, two-way interaction should resume. This might also be a
temporary work around for the CPU issue, but the two should be treated
as entirely separate. (1) One should be able to disable a plugin
without removing it and not have to reconfigure the plugin when it is
enabled. (2) There needs to be some way to stop Provider's CPU hunger.

I know this sounds like criticism, but I really appreciate Provider.
If these few glitches can be worked out, it's really a super add-in.

Klint

unread,
Nov 18, 2008, 7:26:27 AM11/18/08
to Provider for Google Calendar
Another usual suspect for such a cyclic CPU consumption is the
invitation lookup routine that can regularly. You may try to disable
it.
To disable it, edit the configuration (Options/Advanced/Edit config),
look for "calendar.invitations.autorefresh.enabled" and set it to
"false".
Olivier

Klint

unread,
Nov 18, 2008, 7:31:23 AM11/18/08
to Provider for Google Calendar
One more thing, if I remember correctly, the default value for the
invitations lookup timeout is 3 minutes! So that maybe a good
candidate for your problem.

fxbrg

unread,
Nov 18, 2008, 8:30:07 AM11/18/08
to Provider for Google Calendar
Hi Klint, this is it!!

I disabled it, and for the last 15 minutes, my CPU runs smooth...wow!!
Thanks! I hope developpers will read this thread and correct the
matter...

For Gnosos : just like you I turned GCP off, but when I turn it back
on, my calendras are back, no trouble on that side...

The good news of the day, thanks again!!

All the best,

JF

Klint

unread,
Nov 18, 2008, 1:10:42 PM11/18/08
to Provider for Google Calendar
Glad I could help.

Actually, the 3 main issues that are a real burden when using
Lightning on a average machine are:
- invitations lookup every 3 minutes (can be disabled by tweaking the
config)
- remote calendar reload every....(can be disabled by tweaking the
options)
- cache synchro every 4 minutes (cannot be disabled easily for the
time being)

Here is a bunch of bugs related to these 3 issues, if you want to
track them:

https://bugzilla.mozilla.org/show_bug.cgi?id=455939
https://bugzilla.mozilla.org/show_bug.cgi?id=456208
https://bugzilla.mozilla.org/show_bug.cgi?id=449449
https://bugzilla.mozilla.org/show_bug.cgi?id=387014

Cory Smit

unread,
Feb 24, 2015, 9:09:12 AM2/24/15
to provider-for-g...@googlegroups.com
Hi All,
I've got the same issue and I have a monster machine (Win7 Professional x64, what looks like 8 Intel Xeon processors at 3ish GHz a piece, 32GB RAM and some graphics doohikkies) so the CPU spikes shouldn't be an issue. My tiny laptop running the same version of TB and similar OS with only 2.5GB RAM and an Intel Duel Core doesn't have this problem at all.

I've got Google Calendars set to open every time it opens, other than that no other addons.

Could it be my signature? Or my AVG email scanner?

Kind regards,
Cory

Philipp Kewisch

unread,
Feb 28, 2015, 9:01:51 AM2/28/15
to provider-for-g...@googlegroups.com
Could you check if this is still an issue on 1.0.4 ? Maybe also unsubscribe from the calendar and then re-subscribe to ensure there are no issues with the local cache.

Philipp
Reply all
Reply to author
Forward
0 new messages