On 06/10/2014 01:30 AM, Bruce Dubbs wrote:
> Fernando de Oliveira wrote:
>> Em 09-06-2014 18:46, Bruce Dubbs escreveu:
>>
>>> It's like a zombie. Even when it's dead, it keeps coming back.
>>
>> That made me LOL during some time. Made me feel better.
>>
>> BTW, isn't it strange all this discussion in LFS, instead of BLFS
>> support?
> 
> My fault.  I forgot the b in blfs-supoprt with the original post.
> 
>   -- Bruce

Happens to me all the time. Bad completion ...

Anyways, back to topic. Have you looked at

http://userbase.kde.org/Akonadi#High_CPU_or_Memory_usage

It mentions disabling Nepomuk and Contact plugin. Since latest versions
don't include support for Nepomuk, you could try disabling Contact one
(no idea how).

I, for one, have disabled akonadi entirely. Since it relies on having
mysql server running, I have simply disabled mysql server in
~/.config/akonadi/akonadiserverrc by adding "StartServer=false" in the "
[QMYSQL]" section. It's a bit anoying though, since even if I prevent
the clock from "showing the events" something still tries to start
akonadi and fails to do so because mysqld is disabled. If you can live
with the messages like the following ones in your stderr, this is your
best bet.



search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/usr/sbin",
"/usr/local/sbin", "/usr/local/libexec", "/usr/libexec",
"/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin"
)
Found mysql_install_db:  "/usr/bin/mysql_install_db"
Found mysqlcheck:  "/usr/bin/mysqlcheck"
Failed to use database "akonadi"
Database error: "Can't connect to local MySQL server through socket
'/tmp/akonadi-armin.Ajqoly/mysql.socket' (2) QMYSQL: Unable to connect"
Trying to create database now...
QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is
still in use, all queries will cease to work.
Database error: Cannot open database.
Last driver error: "QMYSQL: Unable to connect"
Last database error: "Can't connect to local MySQL server through socket
'/tmp/akonadi-armin.Ajqoly/mysql.socket' (2)"
QSqlQuery::exec: database not open
Unable to open database "Can't connect to local MySQL server through
socket '/tmp/akonadi-armin.Ajqoly/mysql.socket' (2) QMYSQL: Unable to
connect"
"[
0: akonadiserver(_Z11akBacktracev+0x37) [0x45e9d7]
1: akonadiserver() [0x45ec29]
2: /lib/libc.so.6(+0x33cf0) [0x7fdb78cd2cf0]
3: /lib/libc.so.6(gsignal+0x37) [0x7fdb78cd2c77]
4: /lib/libc.so.6(abort+0x148) [0x7fdb78cd3fe8]
5: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x5f)
[0x7fdb7a7e82ff]
6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0x9d) [0x460ebd]
7: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8a) [0x7fdb7a8825ea]
8: /usr/lib/libQtCore.so.4(+0x12b55c) [0x7fdb7a89155c]
9: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x31) [0x7fdb7a899711]
10: akonadiserver(_ZN7Akonadi6Server13AkonadiServer4initEv+0x515) [0x4648f5]
11: /usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x1c1)
[0x7fdb7a90b211]
12:
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x6d)
[0x7fdb7a8f2f7d]
13:
/usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x201)
[0x7fdb7a8f6171]
14: /usr/lib/libQtCore.so.4(+0x1ba203) [0x7fdb7a920203]
15: /lib/libglib-2.0.so.0(g_main_context_dispatch+0x22d) [0x7fdb781a388d]
16: /lib/libglib-2.0.so.0(+0x48b38) [0x7fdb781a3b38]
17: /lib/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fdb781a3bdc]
18:
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5d)
[0x7fdb7a92034d]
19:
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x31)
[0x7fdb7a8f1bd1]
20:
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x185)
[0x7fdb7a8f1ee5]
21: /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x87)
[0x7fdb7a8f7177]
22: akonadiserver(main+0x1c7) [0x458467]
23: /lib/libc.so.6(__libc_start_main+0xf0) [0x7fdb78cbefd0]
24: akonadiserver() [0x458bd8]
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255
(Unknown error)



It's harmless but it's also anoying. Not hard to get used to them though.

--
Note: My last name is not Krejzi.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to