Summary: | Kmail dead slow while stuck synchronizing two folders in KMail maildirs | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Richard Van Den Boom <rvdb> |
Component: | folders | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | amantia, aspotashev, holy, julien, kde2, kde, markotahal, Martin, rvdb |
Priority: | NOR | ||
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Richard Van Den Boom
2011-11-05 11:37:56 UTC
Are you using mysql or sqlite backend (check if a mysqld process is running or not)? What is you folder type? Run akonadiconsole, on the Agents tab click on the account and see the Type in the Detail field below. I'm having this problem too, under 4.8.2 (Kubuntu 12.04). Details: My inbox has about 25000 messages in it. This process is running: usr/sbin/mysqld --defaults-file=/home/tim/.local/share/akonadi/mysql.conf --datadir=/home/tim/.local/share/akonadi/db_data/ --socket=/home/tim/.local/share/akonadi/socket-diva/mysql.socket Here are the agents under akonadiconsole: akonadi_pop3_resource_0 (POP3 E-Mail Server) akonadi_akonotes_resource_0 (AkoNotes) akonadi_pop3_resource_1 (POP3 E-Mail Server) akonadi_maildispatcher_agent (Mail Dispatcher Agent) akonadi_ical_resource_0 (ICal Calendar File) akonadi_maildir_resource_1 (Maildir) akonadi_mailfilter_agent (Mail Filter Agent) akonadi_nepomuk_feeder (Akonadi Nepomuk Feeder) akonadi_contacts_resource_0 (Personal Contacts) Guys, not sure if related, but for the record. I always had kmail slow reading IMAP folder list (many mails ~20k), even on a decent machine (i7,16GB ram, ssd). Today we switched on Archlinux to MariaDB MySQL implementation, while doing that, I read config file /etc/mysql/my.cnf allow InnoDB and change line to innodb_buffer_pool_size = 2G ..to any reasonable value from too small buffer (16M), it works Wonders now! (raise related log files sizes too, few lines below) kmail and whole KDE works blazingly swift now. merry Eastern! :) Hi, Same problem here. Kmail 1.13.7 with Debian Wheezy. Everything was working fine until 2 days ago, Kmail starts but hangs on the "reception" of new messages (Progress window on right down corner shows "Synchronising" for two email accounts, without progression). I can have access to my local emails, and my two offline-IMAP accounts, but I can't fetch new messages. What information should I provide ? Julien, the report is for KMail2, completely different architecture. KMail 1.x is unmaintained, so I dount there will be any fixes there. @Marek, thanks for the advice, increasing the MySQL buffer size helps tremendously! @kmail/akonadi team: please get this fixed by default! Thank you Richard for the report and all the commenters for the comments. It is about a version of KMail which uses Nepomuk and is unmaintained. Thus closing. If you still see performance issues please open new reports. But please follow the following guide lines to avoid unnecessary work for the developers: - Ideally test with KDEPIM and Akonadi 15.08. It contains some performance improvements like the binary protocol. - Otherwise at least use KDEPIM 4.14.10 and newest Akonadi 1.13 you can get as it already contains some performance improvements. - If you can wait, please retest with KDEPIM and Akonadi 15.12 once they become available for you. Akonadi 15.12 will contain *massive* performance improvements implemented by Dan due to new database indexes, optimized queries and leveled file_db directory. All of these are in master already, so if you dare use kdesrc-build to compile KF5, kdepim and kdepim-runtime. I am using this currently and it basically moves the bottleneck to KMail (slow threading for example). It is a *huge* improvement. Thank you and greetings from KDE Randa Meetings, Martin I experience similar issues when syncing large folders for the first time using KMail 5.0.1 and Akonadi 15.08.1. KMail just stops loading folders while showing "Syning folder…" without any visible progress. Looks like some kind of database deadlock. The only way to revive KMail is to run akonadictl restart. Should I reopen this issue or file a new report for Akonadi? |