[Kde-pim] Slowness in POP3 case, maildir resource stat()ing on /etc/localtime very often (was: Re: ... MySQL backend: tuning for larger accounts...)

Daniel Vrátil dvratil at redhat.com
Thu Mar 27 14:48:15 GMT 2014


On Thursday 27 of March 2014 14:46:57 Martin Steigerwald wrote:
> Am Donnerstag, 27. März 2014, 12:24:39 schrieb Daniel Vrátil:
> > Hi,
> > 
> > thanks a lot for all the analysis. I will need to read up on this and
> > consult  MySQL documentation first, so I'll go through it next week
> 
> Gee, I now had it again with my POP3 setup. KMail blocked for minutes.
> akonadi maildir resource 100% CPU bound. And I think I found part of the
> reason why:
> 
> 70% of all stat calls, about 100000 of them during that strace, were to stat
> /etc/localtime.

Is your TZ env variable set? If not set it to TZ="Europe/XX" (whatever your TZ 
is) and try again, it might reduce the amount of stats.

Dan

> 
> Bug 332684 - [Maildir] lots of stats calls to /etc/localtime on
> synchronizing folders
> https://bugs.kde.org/show_bug.cgi?id=332684
> 
> 
> Not to blame on MySQL tough. :)
> 
> I might look into the code for that as that might be quite easy to fix.
> 
> Ciao,

-- 
Daniel Vrátil | dvratil at redhat.com | dvratil on #kde-devel, #kontact, #akonadi
KDE Desktop Team
Associate Software Engineer, Red Hat, Inc.

GPG Key: 0xC59D614F6F4AE348
Fingerprint: 4EC1 86E3 C54E 0B39 5FDD B5FB C59D 614F 6F4A E348
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20140327/385ec11f/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list