[Akonadi] [Bug 332684] [Maildir] lots of stats calls to /etc/localtime on synchronizing folders

Martin Steigerwald bugzilla_noreply at kde.org
Sun Jan 8 12:30:59 GMT 2017


https://bugs.kde.org/show_bug.cgi?id=332684

Martin Steigerwald <Martin at Lichtvoll.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.12                        |5.2.3
         Resolution|UNMAINTAINED                |---
             Status|RESOLVED                    |REOPENED
     Ever confirmed|0                           |1

--- Comment #5 from Martin Steigerwald <Martin at Lichtvoll.de> ---
This still is happening with KMail 5.2.3 (Debian unstable has no newer package
unfortunately and currently I donĀ“t self-compile KDEPIM).

How to reproduce?

1. Start KMail with TZ variable unset.
2. Trace it like this: strace -f -o strace-kmail-stat-localtime.txt -p 16925
3. Click between some (larger) folders.

# Actual Results

~> strace -f -o strace-kmail-stat-localtime.txt -p 16925
strace: Process 16925 attached with 22 threads

~> grep -c "stat(\"/etc/localtime" strace-kmail-stat-localtime.txt 
5496

in just a few seconds of KMail runtime.

# Expected results
Cache what KMail needs from /etc/localtime at least for a while to reduce the
number of calls to that syscall.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list