KMail stalls when composer is open.

Recently KMail has been stalling when the composer is open. When typing in a new email, it will stall and not accept input for a number of seconds or longer and then resume functioning. This can happen several times while composing a message. When the send button is pressed, nothing will happen for several seconds. The KMail screen just freezes. Eventually the message will be sent and the composer closes as it should. Otherwise, KMail functions normally. This has not been a problem until the last few weeks - probably since the June 13 KMail update which was installed on my system on the 26th.

*Active e-Mail directory with over 5 000 e-Mails, Archive e-Mail directory with over 30 000 e-Mails – more than 6 GiB disk usage.*kontact 5.10.3
kmail2 5.10.3
Qt: 5.9.7
KDE Frameworks: 5.55.0

I’m not seeing this issue but, it may be that, you’ll need to perform some Akonadi housekeeping – Close Kontact and KMail2 – leave the PIM plug-ins in the KDE Digital Clock active – do not stop Akonadi:


 > akonadictl fsck
 > akonadictl vacuum
 > akonadictl fsck

Still have the same problem. Here are the packages I have installed:

Kontact: 18.12.3-lp151.1.2 (5.10.3)
KMail: 8.12.3-lp151.3.7.1 (5.10.3)
QT: 5.9.7-lp151.3.1
KDE Frameworks 5.55.0.

I haven’t supported anyone with that many emails recently…

When I did,
I generally recommended that the User start archiving mail when they passed the 3GB threshold…
It’s certainly possible to support larger mail stores but the odds of having problems grows as the mail store keeps growing.

Archiving doesn’t necessarily mean inaccessible, it usually means moving less accessed mail to a different mail store.

TSU

My incoming accounts are huge, but I never experienced a problem related to their size. You may close kmail, invoke it again in a terminal window and report the relevant part of the logs.

@bearymore:

Please check with “hwinfo --memory” the amount of memory that the system believes is available and then, with “ksysguard” check how much free memory is available.

Please check your disk free space, possibly with “kdf”, including /tmp/ and /var/tmp/.
If the system partition is a Btrfs partition, please use “btrfs filesystem df /” to provide reliable values.

Please check ‘~/.local/share/sddm/xorg-session.log’ for any kmail2 error messages.