lipstick has about 100% cpu load
Hello Jolla! I got today the 2.1.2.3 installed. First thing, that I did, was to check the lipstick cpu usage. I looked through forums and, sorry, did not get any tips to get the problem. My device is Jolla phone.
Output of top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5791 nemo 20 0 263m 133m 41m S 101.2 16.5 46:44.42 lipstick
And it looks like with the time it has a memory leak
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5791 nemo 20 0 373m 208m 43m S 99.9 25.8 192:14.27 lipstick
Than I found, may it will be useful...
[nemo@Sailfish ~]$ ps -o comm,time -LC lipstick
COMMAND TIME
lipstick 00:00:17
hwcCommitThr 00:00:00
QEvdevTouchScre 00:00:00
QQmlThread 00:00:06
dconf worker 00:00:00
QDBusConnection 00:00:01
gmain 00:00:00
gdbus 00:00:00
qtaround::mt::A 00:00:00
Qt bearer threa 00:00:00
QQuickXmlQueryE 00:00:00
Qt HTTP thread 00:00:00
GL updater 00:00:03
QSGRenderThread 00:00:13
NemoThumbnailLo 00:00:00
Thread (pooled) 00:48:33
QQuickPixmapRea 00:00:00
Thank you for any advice!
My Jolla has always a high CPU usage after the last few updates (not 100% though, more 25-50%). A second reboot always fixes the issue. Did you try that before doing the factory reset? Don't forget to check your btrfs allocation too.
Sthocs ( 2017-10-11 16:29:22 +0200 )editYes, I did more than two reboots. It did not help... The cpu load was observed with "top". After reboot come the tracker-processes for about 15-30 minutes and than the lipstick "eats" one cpu up to 100% alone.
About the btrfs allocation: do you mean the disk usage? I thought, no other brtfs checks are needed up to 60% disk usage... May be the brtfs-check would help. I did not come to idea...
Anyway, Thank you, I did already the reset due to bad battery life - in 4 hours about 30% has gone...
sistux ( 2017-10-11 17:20:21 +0200 )editOh, I was referring to the output of the command
Sthocs ( 2017-10-12 12:42:17 +0200 )editbtrfs-balancer allocation
. Allocation must be lower that 75%. Normally the upgrade triggers an "Optimize" process that does a btrfs balance, but on my device it's not executed since a few updates, so I have to run it manually to avoid the known btrfs issues. (Even if you never pass 60% disk usage, over time the btrfs metadata grow.)ok... but honestly, I can't realise what the brft-allocation (kernel-fs-subsystem) and lipstick (user-space-app) have together?
See the thread in lipstick:
sistux ( 2017-10-12 14:48:27 +0200 )editThread (pooled) 00:48:33
Is such behaviour normal?
sistux ( 2017-10-12 14:58:19 +0200 )edit