https://bugs.kde.org/show_bug.cgi?id=481861
Bug ID: 481861 Summary: akonadi_google_resource spawns too many threads Classification: Applications Product: kdepim Version: 5.24.4 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kdepim-bugs@kde.org Reporter: jakub.h...@gmail.com Target Milestone: --- SUMMARY I have added my Google calendar to KOrganizer. I can see the thread count for akonadi_google_resource keeps growing. I have no idea where to find logs for that. Eventually, the whole system becomes unusable. It has caused me a lot of trouble, to find this culprit. STEPS TO REPRODUCE OBSERVED RESULT The thread count keeps growing, until limits are reached. I have seen about 6500 threads, but then `akonadictl restart` helped. $ LANG=POSIX date;ps -o thcount,pid,command 29921 Thu Feb 22 02:36:19 CET 2024 THCNT PID COMMAND 15 29921 /usr/bin/akonadi_google_resource --identifier akonadi_google_resource_0 $ LANG=POSIX date;ps -o thcount,pid,command 29921 Thu Feb 22 02:38:39 CET 2024 THCNT PID COMMAND 22 29921 /usr/bin/akonadi_google_resource --identifier akonadi_google_resource_0 $ LANG=POSIX date;ps -o thcount,pid,command 29921 Thu Feb 22 09:30:28 CET 2024 THCNT PID COMMAND 86 29921 /usr/bin/akonadi_google_resource --identifier akonadi_google_resource_0 $ LANG=POSIX date;ps -o thcount,pid,command 29921 Thu Feb 22 11:21:41 CET 2024 THCNT PID COMMAND 112 29921 /usr/bin/akonadi_google_resource --identifier akonadi_google_resource_0 $ LANG=POSIX date;ps -o thcount,pid,command 29921 Thu Feb 22 17:48:06 CET 2024 THCNT PID COMMAND 186 29921 /usr/bin/akonadi_google_resource --identifier akonadi_google_resource_0 $ LANG=POSIX date;ps -o thcount,pid,command 29921 Sun Feb 25 23:27:45 CET 2024 THCNT PID COMMAND 996 29921 /usr/bin/akonadi_google_resource --identifier akonadi_google_resource_0 $ LANG=POSIX date;ps -o thcount,pid,command 29921 Mon Feb 26 15:13:32 CET 2024 THCNT PID COMMAND 1164 29921 /usr/bin/akonadi_google_resource --identifier akonadi_google_resource_0 EXPECTED RESULT The thread count stops growing - at some reasonable point. SOFTWARE/OS VERSIONS Operating System: openSUSE Leap 15.4 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.14.21-150400.24.100-default (64-bit) Graphics Platform: X11 Processors: 6 × Intel® Core™ i5-8500 CPU @ 3.00GHz Memory: 61.7 GiB of RAM Graphics Processor: Mesa DRI Intel® UHD Graphics 630 ADDITIONAL INFORMATION -- You are receiving this mail because: You are the assignee for the bug.