Closed Bug 1630163 Opened 5 years ago Closed 5 years ago

thunderbird networking hangs showing downloads, netstat doesn't show any connections, constant polling of sockets, 100% CPU usage

Categories

(MailNews Core :: Networking: IMAP, defect)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: axkibe, Unassigned)

Details

(Keywords: hang, perf)

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.92 Safari/537.36

Steps to reproduce:

Unfortunately I've not yet found a way yet to reproduce this. For me this occurs every few days, for my boss daily in the morning (I suppose thus it has to do with the size of IMAP box?)

Actual results:

netstat and netstat -l are completly empty of network connections, albeit thunderbird keeps spinning saying it's downloading IMAP data.

thunderbird is using 100% cpu of one core.

strace and listing of /proc/$PID/fdd are attached

The socket must be Unix socket. Unfortunally I didn't track which

Expected results:

I believe either thunderbird is thrown into this state by some IMAP message or a subcomponent crashed?

If I can help with any more information, the next time this happens, please tell.

As plugins I had only lightning activated and cardbook. I disabled now the second and asked my boss to the same. He says it's still happening to him. So I doubt it is responsible.

Attached file bugcase2.txt

I just had it happening again after 2 days of normal use. Cardbook was now disabled also on my end and I had the latest security updates installed from debian.

Again this happened in a high CPU usage situation from other processes.

This time I tried to get a little more info about the fd's it keeps polling, but it's only pipes and unnamed unix sockets.

Resetting severity to default of --.

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is -- (Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → --

Axel, can you get a protocol log "IMAP:5"? instructions at https://wiki.mozilla.org/MailNews:Logging

Component: Untriaged → Networking: IMAP
Flags: needinfo?(axkibe)
Keywords: hang, perf
Product: Thunderbird → MailNews Core

I didn't encounter this anymore now for a several weeks. However maybe it was because in the beginning it was still fetching a huge IMAP account , I installed it fairly new back then, and got it completely.

Flags: needinfo?(axkibe)

Thanks for the update. Let's call it worksforme - it can be reopened if the problem comes back

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME

I suppose it has to do with heavy network load, either in Thunderbird or maybe possibly also the IMAP server. This happened a lot at the beginning of the Corona crisis. I still think the issue is somewhere, but yes if we can't reproduce it, no use to keep it. I'm not going to reset my profile for this.
Thanks for the update.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: