Bug 423406 - /usr/bin/akonadi_kalarm_resource --identifier akonadi_kalarm_resource_X put my cpu at 100%
Summary: /usr/bin/akonadi_kalarm_resource --identifier akonadi_kalarm_resource_X put m...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: KAlarm resource (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Jarvie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-23 19:25 UTC by BRULE Herman
Modified: 2020-06-29 14:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BRULE Herman 2020-06-23 19:25:33 UTC
SUMMARY


STEPS TO REPRODUCE
1. Just have an uptime more than 10 days

OBSERVED RESULT
CPU at 100%, 16-64GB of memory used

ADDITIONAL INFORMATION
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007eff3b92e7ed in __GI___poll (fds=0x5560a58c9f90, nfds=3, timeout=426982) at ../sysdeps/unix/sysv/linux/poll.c:29
29      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) bt
#0  0x00007eff3b92e7ed in __GI___poll (fds=0x5560a58c9f90, nfds=3, timeout=426982) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007eff3a119e7e in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
#2  0x00007eff3a119f9f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007eff3bf56e22 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5560a580fcd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007eff3bf0041b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc03dc6350, flags=..., flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007eff3bf08437 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007eff3cf1846e in Akonadi::ResourceBase::init(Akonadi::ResourceBase&) () at /usr/lib64/libKF5AkonadiAgentBase.so.5
#7  0x00005560a3ccd082 in int Akonadi::ResourceBase::init<KAlarmResource>(int, char**) ()
#8  0x00007eff3b85de35 in __libc_start_main (main=
    0x5560a3cbf3e0 <main>, argc=3, argv=0x7ffc03dc65c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc03dc65b8) at ../csu/libc-start.c:308
#9  0x00005560a3cbf41a in _start () at ../sysdeps/x86_64/start.S:120
Comment 1 David Jarvie 2020-06-24 22:24:16 UTC
Did a single akonadi_kalarm_resource process use 100% CPU? If so, the stack trace doesn't help to find out why, since it gives no indication of where in the KAlarmResource it is hogging the CPU.
Comment 2 BRULE Herman 2020-06-25 17:42:27 UTC
Hi, 2-3 process on all process
Comment 3 David Jarvie 2020-06-29 14:14:10 UTC
This doesn't happen on my system, so without more information on exactly where in akonadi_kalarm_resource CPU is being used, I can't investigate.

This issue will go away in KAlarm version 3.0, which will no longer use Akonadi. It will be released as part of KDE release 20.08 in August.
Comment 4 BRULE Herman 2020-06-29 14:18:26 UTC
> KAlarm version 3.0, which will no longer use Akonadi
wonderfull! great! Then I will try KAlarm
Comment 5 BRULE Herman 2020-06-29 14:18:45 UTC
(KAlarm 3)