[Users] [Bug 4559] New: Claws Mail randomly decides to refetch huge list of invalid UIDs from IMAP folder

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Dec 29 11:12:13 UTC 2021


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4559

            Bug ID: 4559
           Summary: Claws Mail randomly decides to refetch huge list of
                    invalid UIDs from IMAP folder
           Product: Claws Mail (GTK 2)
           Version: 3.18.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Folders/IMAP
          Assignee: users at lists.claws-mail.org
          Reporter: thomas.petazzoni at enix.org

I am a very heavy user of Claws Mail with an IMAP server. I have folders with
several hundreds of thousands of e-mails, and Claws Mail handles that very
well.

The only issue I encounter is that in a seemingly random fashion, about 5-10
times a day, Claws Mail decides to refetch all UIDs from a given IMAP folder,
sometimes even from folders that are completely empty (such as the Queue
folder). Claws Mail is literally contacting the IMAP server about each and
every UID from 1 to <significant number>, and while it does that it consumes a
lot of CPU and Claws Mail operations are sluggish.

I have posted at https://bootlin.com/~thomas/claws-issue.txt a log file that
illustrates the problem.

At line 2052 the problem starts with:
imap.c:4723:removing old messages from
/home/thomas/.claws-mail/imapcache/mail.gandi.net/thomas.petazzoni at bootlin.com/Queue

Then, there is a huge list of:
folder.c:2269:Remembered message 1 for fetching

It says that for 312301 messages, until:
folder.c:2269:Remembered message 312301 for fetching

in line 296117 of the log file.

And then it starts contacting the IMAP server for each and every UID for 1 to
312301. 

Note that the log file ends with UID FETCH 46198 because I killed Claws Mail.
But you can clearly see it is trying to fetch all UIDs from 1 to 46198.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list