keshavbhatt / whatsie

Feature rich WhatsApp Client for Desktop Linux
MIT License
1.98k stars 59 forks source link

Abnormally High CPU Thrashing #190

Open fleamour opened 3 months ago

fleamour commented 3 months ago

I am seeing persistently high CPU thrashing on my C2D Laptop & C2D tower. Mint 22 & Tumbleweed. Not usable to keep running, so removed from auto start.

FraYoshi commented 3 months ago

Can confirm, I used to keep it running all day, but a couple of months ago started using a lot of CPU, so I run it only if awaiting an answer or if particularly needed..

I would add that with the latest flatpak update (4.15.2), it does no longer use that much CPU non-stop. But have only used for a dozen minute up to now. Maybe try to update it to latest :)

fleamour commented 1 month ago

Can this be reopened? Must be a regression.

magoafono commented 1 month ago

I have the same issue on Ubuntu 22.04.5 LTS

pradyparanjpe commented 1 month ago

I have the same issue on ArchLinux

ratio91 commented 4 weeks ago

I still have the issue with the latest flatpak version

abinmansour commented 3 weeks ago

me too while I opened a game thru mangohud I noticed my cpu is very high I wondered why and then when I checked the system monitor noticed that whatsie taking around 30 % of the cpu

SWi7CHbladE commented 2 weeks ago

Very high cpu usage (~25-30%) on ubuntu 24.04 on my ryzen 7735u . I have installed version 4.16.3.20eef26 from the snap store.

janesser commented 1 week ago

attempting to gain some insight, it seems the embedded chrome process is most eager

@keshavbhatt any clue what could be looping possibly too often?

https://www.reddit.com/r/whatsapp/comments/187k0s9/whatsapp_web_consuming_way_too_much_cpu_pc/

having "background-sync" disabled releases the fan noice ;-)

> ps -e -T|grep 2244158|sort -k 4,8 -r
2244158 2244221 ?        00:03:12 Chrome_InProcRe
2244158 2244327 ?        00:00:23 ThreadPoolForeg
2244158 2244303 ?        00:00:20 ThreadPoolForeg
2244158 2244200 ?        00:00:15 ThreadPoolForeg
2244158 2244296 ?        00:00:14 ThreadPoolForeg
2244158 2244275 ?        00:00:13 ThreadPoolForeg
2244158 2244302 ?        00:00:12 ThreadPoolForeg
2244158 2244301 ?        00:00:11 ThreadPoolForeg
2244158 2244291 ?        00:00:09 ThreadPoolForeg
2244158 2244273 ?        00:00:08 ThreadPoolForeg
2244158 2244196 ?        00:00:08 ThreadPoolForeg
2244158 2244201 ?        00:00:05 ThreadPoolForeg
2244158 2244276 ?        00:00:00 whatsi:traceq0
2244158 2244269 ?        00:00:00 whatsi:traceq0
2244158 2244266 ?        00:00:00 whatsi:traceq0
2244158 2244263 ?        00:00:00 whatsi:traceq0
2244158 2244255 ?        00:00:00 whatsi:traceq0
2244158 2244249 ?        00:00:00 whatsi:traceq0
2244158 2244216 ?        00:00:00 whatsi:traceq0
2244158 2244188 ?        00:00:00 whatsi:traceq0
2244158 2244187 ?        00:00:00 whatsi:traceq0
2244158 2244186 ?        00:00:00 whatsi:traceq0
2244158 2244185 ?        00:00:00 whatsi:sh_opt0
2244158 2244329 ?        00:00:00 whatsie:sh2
2244158 2244274 ?        00:00:00 whatsie:sh1
2244158 2244184 ?        00:00:00 whatsie:sh0
2244158 2244278 ?        00:00:00 whatsie:gl0
2244158 2244271 ?        00:00:00 whatsie:gl0
2244158 2244268 ?        00:00:00 whatsie:gl0
2244158 2244265 ?        00:00:00 whatsie:gl0
2244158 2244257 ?        00:00:00 whatsie:gl0
2244158 2244251 ?        00:00:00 whatsie:gl0
2244158 2244218 ?        00:00:00 whatsie:gl0
2244158 2244190 ?        00:00:00 whatsie:gl0
2244158 2244277 ?        00:00:00 whatsie:gdrv0
2244158 2244270 ?        00:00:00 whatsie:gdrv0
2244158 2244267 ?        00:00:00 whatsie:gdrv0
2244158 2244264 ?        00:00:00 whatsie:gdrv0
2244158 2244256 ?        00:00:00 whatsie:gdrv0
2244158 2244250 ?        00:00:00 whatsie:gdrv0
2244158 2244217 ?        00:00:00 whatsie:gdrv0
2244158 2244189 ?        00:00:00 whatsie:gdrv0
2244158 2244183 ?        00:00:00 whatsie:disk$0
2244158 2244182 ?        00:00:00 whatsie:cs0
2244158 2244158 ?        00:00:00 whatsie
2244158 2244272 ?        00:00:00 WebCrypto
2244158 2244215 ?        00:00:00 VizCompositorTh
2244158 2244300 ?        00:00:00 ThreadPoolSingl
2244158 2244225 ?        00:00:00 ThreadPoolSingl
2244158 2244195 ?        00:00:00 ThreadPoolServi
2244158 2244326 ?        00:00:00 ThreadPoolForeg
2244158 2244207 ?        00:00:00 threaded-ml
2244158 2244194 ?        00:00:00 sandbox_ipc_thr
2244158 2244181 ?        00:00:00 QXcbEventQueue
2244158 2244231 ?        00:00:00 Qt bearer threa
2244158 2244232 ?        00:00:00 QNetworkAccessM
2244158 2244211 ?        00:00:00 QDBusConnection
2244158 2244219 ?        00:00:00 NetworkService
2244158 2244202 ?        00:00:00 inotify_reader
2244158 2244223 ?        00:00:00 GpuMemoryThread
2244158 2244299 ?        00:00:00 DedicatedWorker
2244158 2244230 ?        00:00:00 CompositorTileW
2244158 2244229 ?        00:00:00 CompositorTileW
2244158 2244228 ?        00:00:00 CompositorTileW
2244158 2244227 ?        00:00:00 CompositorTileW
2244158 2244226 ?        00:00:00 CompositorTileW
2244158 2244203 ?        00:00:00 CompositorTileW
2244158 2244224 ?        00:00:00 Compositor
2244158 2244197 ?        00:00:00 Chrome_IOThread
2244158 2244205 ?        00:00:00 Chrome_InProcGp
2244158 2244222 ?        00:00:00 Chrome_ChildIOT
2244158 2244206 ?        00:00:00 Chrome_ChildIOT
2244158 2244220 ?        00:00:00 CacheThread_Blo
2244158 2244204 ?        00:00:00 AudioThread