lieser / dkim_verifier

DKIM Verifier Extension for Mozilla Thunderbird
MIT License
210 stars 35 forks source link

high CPU usage on some messages #11

Closed Jan02 closed 10 years ago

Jan02 commented 11 years ago

Clicking on some messages with DKIM verifier causes high CPU load.

v0.4.4 tb 17.0.8

lieser commented 11 years ago

Thanks for reporting, but I will need more information to see what causes this. Besides a bug, the only cause I can thing of at the moment are the cryptographic calculations.

Is the CPU load only high during the verification, or also after the result is shown? Does this occur always on the same messages? If so, do they have big attachments or other similaritys?

Jan02 commented 11 years ago

What happens is a high CPU spike ("DKIM Validating..."), then CPU usage goes to normal and the DKIM result isn't shown at all. I've seen it happen with 1 message so far. On 2013-08-26 12:43, lieser wrote:

Thanks for reporting, but I will need more information to see what causes this. Besides a bug, the only cause I can thing of at the moment are the cryptographic calculations.

Is the CPU load only high during the verification, or also after the result is shown? Does this occur always on the same messages? If so, do they have big attachments or other similaritys?

— Reply to this email directly or view it on GitHub https://github.com/lieser/dkim_verifier/issues/11#issuecomment-23276740.

lieser commented 11 years ago

Do I understand you correctly, that it happened only ones for this message and not always? If so, and you can’t reproduce it, the chances of me being able to fix it are low, as I still don’t know what happened exactly.

What you could do is enable debugging in the advanced options, and then post the debug messages if it happens again.

Jan02 commented 11 years ago

for this issue, no messages show up in the TB error console at all. On 2013-08-27 04:34, lieser wrote:

Do I understand you correctly, that it happened only ones for this message and not always? If so, and you can’t reproduce it, the chances of me being able to fix it are low, as I still don’t know what happened exactly.

What you could do is enable debugging in the advanced options, and then post the debug messages if it happens again.

— Reply to this email directly or view it on GitHub https://github.com/lieser/dkim_verifier/issues/11#issuecomment-23320701.

lieser commented 11 years ago

Does this error always occur if you view the message? If so, my best chance of finding the bug would be if I had the message to reproduce it myself.

If there is something personal in it, you could edit the saved .eml message with a text editor and alter the body (but best not the head) of the message. If you alter the message, best import the message again to see if the error still occurs.

If you don't want to send me the message and the error doesn't occur with the altered message, you will probably have to debug it yourself, or install an altered version of the add on with more debug information.

lieser commented 10 years ago

Because you haven't answered yet I'm assuming this problem no longer occurs. If it happens again, or someone else has the same problem, please reopen this issue.