Closed
Bug 484760
Opened 16 years ago
Closed 16 years ago
High CPU usage in sending operation...
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: durumdara, Unassigned)
Details
Attachments
(1 file)
|
78.39 KB,
image/jpeg
|
Details |
User-Agent: Opera/9.64 (Windows NT 5.1; U; hu) Presto/2.1.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1
Hi!
In older versions I saw this thing too: when I send a mail that have big attachment, the CPU usage is growing to 80-100%. It is very slowing down the machine.
Now I need to move my one IMAP account to another.
When I batch moving the mails (Go Offline - move all mails from source dir to dest dir - Go Online), the downloading of the large messages are not increasing the CPU usage. But uploading is uses all of the CPU time...
Reproducible: Always
Comment 2•16 years ago
|
||
(In reply to comment #0)
> User-Agent: Opera/9.64 (Windows NT 5.1; U; hu) Presto/2.1.1
> Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.9.1b3pre)
> Gecko/20081204 Thunderbird/3.0b1
Would you mind updating Thunderbird to 3.0b2
> Hi!
>
> In older versions I saw this thing too: when I send a mail that have big
> attachment, the CPU usage is growing to 80-100%. It is very slowing down the
> machine.
>
Can you define big and give size examples ? What are the specs of your machine ?
Comment 3•16 years ago
|
||
(In reply to comment #0)
> In older versions I saw this thing too: when I send a mail that have big
> attachment, the CPU usage is growing to 80-100%. It is very slowing down the
> machine.
The "slowness" occurs at which step?
1. Compose a mail, and "Send Later"
2. Go "Local Folders"/Outbox folder("Unsent" folder when Tb 2),
and "Send Unsent Messages" at context menu of the mail folder.
AFAIR, "slowness" at both steps can be affected by garbages in "%temp%" directory of MS Win, in which Tb tries to write temp file during mail composition & mail sending.
Go "Command Prompt" of MS Win, and check %temp% content by "DIR %temp% /S".
(Do "DIR %temp% /S > C:\DIR-LIST.TXT", and check C:\DIR-LIST.TXT by notepad.exe)
Many garbages exist in your %temp% directory?
If yes, do "DEL %temp%\*.* /S /F /Q" at MS Win's Command Prompt.
Does your "slowness" still remain?
> Now I need to move my one IMAP account to another.
> When I batch moving the mails (Go Offline - move all mails from source dir to
> dest dir - Go Online), the downloading of the large messages are not increasing
> the CPU usage. But uploading is uses all of the CPU time...
"One problem per a bug" is rule of bugzilla.mozilla.org.
And two major new features for Tb 3 are under construction:
> (A) IMAP auto-sync : "Syncing & Disk Space" of an IMAP account's setting
> (B) Gloda(auto indexing) : Tools/Options/General/Advanced Configration/Enable Global Search and Indexing (probably this setting is for Gloda)
Before complaining, please check difference between "A is Enabled and is Disabled" or "B is Enabled and is Disabled". And open separate bug if new problem after search bugzilla.mozilla.org well for already opened bugs, please.
Hi!
>(In reply to comment #2)
> Can you define big and give size examples ? What are the specs of your machine
> ?
The machines are: 1,5 - 2 GHz Pentiums, with 1,5 GB RAM, enough HDD.
The attachment size: 1780 Kb, msg size is: 2442 Kb.
AntiVir: AVG 8.0.
But this is an older "bug", I saw in every version of the TDB (1.x < vv).
Now my temp folder is empty, and the gloda is unchecked. When I send this mail (1,78 MB) I the TDB is use the CPU 80-90% in sending. In the "Move the mail's copy the sent folder" operation the CPU usage is moving down to 1-10%.
dd
Comment 5•16 years ago
|
||
(In reply to comment #4)
> Now my temp folder is empty, and the gloda is unchecked.
> When I send this mail (1,78 MB) I the TDB is use the CPU 80-90% in sending.
> In the "Move the mail's copy the sent folder" operation the CPU usage is moving down to 1-10%.
Interfered or caused by "mail scanner" of anti-virus software? Can your problem be reproduced even after AVG and Firewall software are disabled?
> Interfered or caused by "mail scanner" of anti-virus software? Can your problem
> be reproduced even after AVG and Firewall software are disabled?
I disabled now AVG fully, and I saw the Process Explorer to check, which processes uses CPU.
Only TDB do this, with 79-82% in sending operation... :-(
The message size 1-2 MB.
Comment 7•16 years ago
|
||
> I disabled now AVG fully,
Does it mean you uninstalled AVG temporary? If not, you really disabled E-mail scanner?
According to next page, AVG's mail scanning feature looks to be implemented as "local POP3/SMTP proxy".
> http://freeforum.avg.com/read.php?12,178437,backpage=2,sv=
In Tb's SMTP setting, real SMTP server's address is set? Or 127.0.0.1(localhost, 192.x.x.y, ...)?
Even if "local SMTP proxy" is not used, e-mail scanner for outgoing mail may be "port scan" type. And, E-mail scanner setting is independent from settings for usual virus checking in many software. Check E-mail scanner related settings again.
I fully disarmed, and later fully uninstalled the AVG from my machine.
The result is same before: on the save message, on the sending message the CPU usage is growing to 80-100% for short time (10-20 seconds).
The downloading of the sent message isn't cause CPU problems. Only the sending/batch moving/saving.
IMAP, if I forget to wrote before...
Comment 9•16 years ago
|
||
> Only the sending/batch moving/saving.
It sounds high CPU while copying to Sent folder after send to SMTP server completion...
You did say "during sending operation", instead of "during SMTP sending".
Drafts & Sent folder is IMAP folder?
Get NSPR log with timestamp by DebugView, for mail upload.
> Get NSPR log : See Bug 402793 Comment #1
> Add timestamp by DebugView on MS Win : See Bug 402793 Comment #6
> SMTP command/response : See RFC 2821 ( http://tools.ietf.org/html/rfc2821 )
> IMAP command/response : See RFC 3501 ( http://tools.ietf.org/html/rfc3501 )
> SET NSPR_LOG_MODULES=nsHostResolver:5,nsSocketTransport:5,smtp:5,imap:5
> SET NSPR_LOG_FILE=WinDebug
Get log for next operation.
(1) Set environment variable
(2) Restart Tb
(3) Copy a big mail in local mail folder to an IMAP folder
Something wrong(e.g. retry) is seen in log during copy operation(append command)?
Response from IMAP server is returned within reasonable period?
Comment 10•16 years ago
|
||
Durumdara , would you mind replying to comment #9 ?
| Reporter | ||
Comment 11•16 years ago
|
||
(In reply to comment #10)
> Durumdara , would you mind replying to comment #9 ?
As I check the new version
Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4
that CPU usage changed.
The process explorer showing 50-50% CPU usage (for foreground (green), and background (red)) while sending.
This is acceptable because I can working with another application while sending anything.
Comment 12•16 years ago
|
||
closing WFM per comment #11
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•