Windowserver high CPU after sleep

MacOS 14.0, M1 MacBook Air with an external display mirroring the internal display.

Windowserver starts to use about 80% CPU (one core, 12% in total CPU usage) after awaking from sleep, and constantly using these amount CPU after, until I force stop the process.


I turned off all the effects and tried tips on online.


Normally after a fresh restart, this system process uses single digit of CPU (less than 1% in total CPU usage). When I put the laptop into sleep and wake it, the process starts that behavior. During this sleep-wake, no windows opened or closed.



MacBook Air 13″

Posted on Oct 7, 2023 5:22 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 8, 2024 5:17 AM

I have found that the notification centre and notification widgets on the desktop (e.g. clock etc.) cause consistent high cpu usage (e.g. most of an efficiency cpu on a MacBook Pro M1 Max - this would show up as 14-20% in Activity Monitor). Removing all widgets immediately drops it to 2-4%. Note these measurements are with no apps running: things like chrome (and google meet etc.) can use a lot of CPU, though chrome has improved over time.

11 replies
Question marked as Top-ranking reply

Jan 8, 2024 5:17 AM in response to garydoooo

I have found that the notification centre and notification widgets on the desktop (e.g. clock etc.) cause consistent high cpu usage (e.g. most of an efficiency cpu on a MacBook Pro M1 Max - this would show up as 14-20% in Activity Monitor). Removing all widgets immediately drops it to 2-4%. Note these measurements are with no apps running: things like chrome (and google meet etc.) can use a lot of CPU, though chrome has improved over time.

Oct 8, 2023 11:28 PM in response to garydoooo

Did this start to occur recently?

I noticed that you have installed tencent and realvnc a few days ago. Maybe these are not updated for Sonoma and cause some issue?


I was not familiar with tencent lemon and it is a "cleaner" application. FWIW, Macs don't need any "cleaners". They sometimes clean all too well, causing system issues. Was there any particular reason for installing this?


Your mac can work as both a vnc client and server with just the built-in software. Maybe there is some extra functionality provided by realvnc, I don't know. I regularly connect to a remote mac with just built-in software.


And finally, I noticed OpenVPN. Again, no idea to the purpose, and it may be a valid one, but I have to warn about the false sense of security often promoted by public vpn applications... Public VPN are anything but private

Oct 9, 2023 6:40 AM in response to Luis Sequeira1

Thank you very much for reviewing my files and giving the comments.


The high CPU thing has been a while.


I uninstalled the OpenVPN client with its native uninstaller. The problem persists. I used it to connect personal vpn service I built on private servers.


The Tencent cleaner was a new installation yesterday before I ran the EtreCheck. I used it to remove a few softwares to reduce the "degrees of freedom" in the system, which include the RealVNC you noticed. The vnc client was removed before I ran the check. (BTW thank you for telling me about the built in client, I didn't know that. I tried it and will use it in the future. )


Thanks again. Is there any test else I can run to understand more about what the WindowServer is doing?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Windowserver high CPU after sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.