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

Martin Steigerwald Martin at lichtvoll.de
Thu Mar 27 15:35:44 GMT 2014


Am Donnerstag, 27. März 2014, 15:48:15 schrieb Daniel Vrátil:
> 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.

Seems to help:

merkaba:/tmp> grep -c "stat(\"/etc/localtime" strace-blub.txt 
0
merkaba:/tmp#1> grep -c "stat(" strace-blub.txt  
998

Still KMail was blocked for some time, but appeared to be shorter, definately 
wasn´t a minute, but this was also during KDE session startup with Akonadi 
starting and MySQL was using 120% CPU (possibly due to other initialization 
reasons).

I wait for some bigger mail batch to arrive and retest then and add comment to 
bug.

> > Bug 332684 - [Maildir] lots of stats calls to /etc/localtime on
> > synchronizing folders
> > https://bugs.kde.org/show_bug.cgi?id=332684
[…]

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
_______________________________________________
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