[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possible akonadi problem?



Hi Brad,

On Fri, 2 Jan 2015 11:28:53 Brad Alexander wrote:
> Can anyone suggest a fix or workaround other than starting akonadi every 5
> - 10 minutes?

I had similar problem when akonadi accumulated nearly 2 million files in the 

    ~/.local/share/akonadi/file_db_data

Here is what helped me:

 * Set "SizeThreshold=32768" in "~/.config/akonadi/akonadiserverrc"
   (default is 4096).

 * Run "akonadictl fsck" which moved unreferenced files to
   "~/.local/share/akonadi/file_lost+found" (safe to remove)
   and gobbled files smaller than 32768 bytes from "file_db_data"
   into database.

The above procedure dramatically improved kmail performance and response time.

To optimise further you can check MySQL configuration in 

    ~/.config/akonadi/mysql-local.conf
    ~/.local/share/akonadi/mysql.conf    

and bump "innodb_buffer_pool_size" and/or other relevant parameters.

-- 
Regards,
 Dmitry Smirnov
 GPG key : 4096R/53968D1B

---

Problems are not stop signs, they are guidelines.
        -- Robert H. Schuller

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: