Closed Bug 544054 Opened 14 years ago Closed 14 years ago

When sending mails with gmail IMAP thunderbird consumes a lot of CPU resourses

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 538283

People

(Reporter: spam, Unassigned)

Details

(Keywords: perf)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

When sending mails with or without attachments thunderbird consumes a lot of CPU resources.
That happens with mails of any size.
Only happens when sending mails.
With thunderbird 2 works OK.
I use a gmail account (IMAP).
Only happens when sending mails.

Reproducible: Always

Steps to Reproduce:
1.Write mail
2.Attach a file (or not)
3.Send
Actual Results:  
Consumes a lot of CPU resources and de system goes very slow

Expected Results:  
normal consumption of resources

I test that in 2 computers: PIV 1,5 GB RAM and Centrino 512 MB RAM.
Do you use any antivirus or firewall? Could try with them set to off?
Keywords: perf
Summary: When sending mails with or without attachments thunderbird consumes a lot of CPU resourses → When sending mails with gmail IMAP thunderbird consumes a lot of CPU resourses
Version: unspecified → 3.0
Yes, I have turned off both but the problem persists.
and also in safe mode
please run through the procedure at https://wiki.mozilla.org/Thunderbird:Testing:Memory_Usage_Problems and report results

also, please use taskmgr to find how much cpu and memory thunderbird is using
Severity: major → normal
Thanks, but I checked all the items, but none of them solved my problem.
With the firewall (zonealarm)enabled: Thunderbird.exe, vsmon.exe (zonealarm)and System process consumes 100% CPU.
If the firewall is disabled: Thunderbird.exe and system process consumes 100% CPU.
Is the same if the antivirus (nod32 2.70.31) is on or off.
The memory consumed is the same, before or during the problem (78Mb aprox).
All values were measured with the taskmgr.
The problem is ONLY when I send mails.
I tried with thunderbird 3.0.2 and also with thunderbird portable (in English), in two differents computers and is the same (with and without antivirus and firewall).
Mail sending roughly consists of;
(1) Generate mail data stream in Temp directory.
(2) (2-1) Pass the mail data stream to SMTP server.
    (2-2) Copy sent mail data to folder you requested Tb to save.
Check next.
0. Change folder pane view to "All Folders".
1. Disable auto-save if you enable, for ease of checking.
   Change "folder to save copy of sent mail" to Sent of "Local Folders"
2. Compose a mail, "Send Later" => saved in Outbox of "Local Folders"
3. "Send Unsent Messages"
   => mail data is passed to SMTP server.
   => mail data is saved in "Sent" of "Local Folders".
At which steps is CPU consumed? Which step takes very long?

Do you hold Tb's profile directory on network drive?
Tb's profile is on a local drive.
The step (2-2) never happens, because I set off "copy sent mail data..." (I have gmail and automatically copy sent mail to gmail sent folder) 
The CPU is consumed when the bar in the bottom of tb indicate "sending mail" (or similar, is in spanish). And this step takes a normal time because my connection is slow for send (Cable 3Mb / 256 Kb), the only problem is the CPU, in TB 2 worked ok.
Gmail's SMTP uses StartTLS or SSL/TLS.
Closing as dup of bug 538283. Re-open please, if different problem.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.