Windows server mac os грузит память

В публикации речь пойдет о методах борьбы с чрезмерным потреблением ресурса ЦП процессами WindowServer, nsurlsessiond, mdnsresponder, mds_stores, hidd, trustd и syslogd в Мак (macOS).

Обновление:

Замедление работы — следствие старения конкретного Mac-устройства и нехватки ресурсов для поддержания более ресурсоемких приложений. Это естественный процесс. Когда железо все еще можно прокачать, проблему можно решить посредством установки большего объема оперативной памяти (ОП) и замены штатного носителя данных с вращающимися элементами (HDD) на более быстрый SSD-накопитель. Но что, если производительность совершенно нового или недавно выпущенного MacBook, iMac, Mac Pro ниже чем обычно? Давайте разберемся, что к чему! Многие пользователи в подобной ситуации открывают Мониторинг Системы, чтобы изучить работу процессов на компьютере. Они обнаружат, что процесс с именем WindowServer на постоянной основе использует большую часть ресурсов ЦП. Во многих случаях, эта аномалия происходит одновременно с чрезвычайно высоким потреблением памяти. После перезагрузки Мак симптомы исчезают, но только на время, и проблема в конечном итоге возникает снова. Стоит отметить, что баг, вызываемый WindowServer, часто наблюдается на фоне непропорционального потребления ресурса ЦП следующими процессами: nsurlsessiond, mdnsresponder, mds_stores, hidd, trustd и syslogd.

WindowServer, nsurlsessiond и прочие процессы используют слишком много ресурса ЦП в Mac

Что представляет собой WindowServer в системе Mac? И почему загрузка ЦП временами так взлетает? Давайте попробуем разобраться. Перво-наперво, вот некоторые вики-материалы по этому вопросу: WindowServer — это набор служб, которые выполняют задачу управления окнами. Его также определяют как комплексный механизм, который выводит приложения на экран Mac. Коренной процесс macOS протекает между выполняемыми программами и их графическим отображением на экране. Он запускается при входе в систему и прекращается при выходе из нее. Работаете с программой? Просматривайте сайты в Интернете с помощью браузера? Увидели рекламу онлайн? Играете на компьютере? Именно WindowServer обеспечивает Вам динамический просмотр соответствующей информации. Следовательно, это чрезвычайно важный и по определению безвредный элемент системы. Это, впрочем, не означает, что он всегда работает безупречно.

Специальное предложение

Вредоносная программа, из-за которой WindowServer использует много ресурсов ЦП, может инфицировать Mac неоднократно, до тех пор, пока Вы не удалите все ее фрагменты, включая скрытые. Поэтому рекомендуется загрузить Combo Cleaner и просканировать вашу систему на наличие этих файлов. Таким образом, вы можете сократить время очистки с часов до минут.

Скачать сейчас

Узнайте как работает Combo Cleaner. Если утилита обнаружит вредоносный код, вам придется купить лицензию, чтобы избавиться от него.

Один из широко известных сценариев, при которых WindowServer потребляет слишком много ресурсов ЦП и оперативной памяти, связан с подключением внешнего монитора к компьютеру Mac. Такое неблагоприятное событие более вероятно, если это 4K монитор. Кроме того, многие пользователи отмечают появление данной проблемы после включения масштабированного разрешения на дисплее Retina. Неправильная реализация эффектов прозрачности может быть еще одной причиной нежелательной активности. Такое наслаивание факторов предполагает, что проблема может возникать тогда, когда обычный процесс визуализации графики усложняется из-за определенных настроек и регулировки разрешения. Некоторые пользователи сталкиваются с затруднениями непосредственно после обновления системы Apple до macOS Catalina 10.15 — текущей версии операционной системы. В идеале, подобный сбой не должен наблюдаться ни в одном из этих случаев, но на практике он часто возникает и требует немедленного исправления. В результате компьютер предельно загружен и работает медленнее, чем должен. Иногда этот баг вызывает kernel panics, состояние, при котором Mac выходит из строя, а отрегулировать его весьма непросто.

Опять же, беда не приходит одна. Истощение ресурса ЦП часто вызывает комплексная нагрузка, WindowServer создает только ее часть. Если перейти в меню Утилиты macOS и запустить Мониторинг Системы, можно заметить еще несколько процессов, коллективно потребляющих большую часть ресурсов центрального процессора. Вот краткое описание процессов Мак, которые имеют свойство внезапно превращаться в настоящих пожирателей ресурса ЦП:

  • Nsurlsessiond. Процесс, связанный с синхронизацией изображений, контактов и прочих данных пользователя Mac с сервером iCloud.
  • Mdnsresponder. Это сетевая служба с нулевой конфигурацией, которая позволяет устройствам Apple обнаруживать друг друга по одной сети и обмениваться контентом, к примеру библиотеками iTunes. Mdnsresponder является составной частью так называемого протокола Bonjour.
  • Mds_stores. Это компонент средства поиска Spotlight. Одной из его функций является индексация файлов, хранящихся в Mac.
  • Hidd. Аббревиатура означает «human interface device daemon» (демон интерфейса устройства пользователя). Его роль — интерпретировать все события, связанные с использованием мыши и клавиатуры.
  • Trustd. Это демон, который управляет цифровыми сертификатами и проверяет их, чтобы убедиться, что текущие процессы подписаны кодом и им можно доверять. Он также проверяет, шифруют ли веб-сайты соединение и безопасны ли они для посещения.
  • Syslogd. Функция процесса syslogd заключается в ведении системных журналов. Среди прочего, он выполняет сжатие этих журналов, чтобы оптимизировать их размер и убедиться, что они не занимают слишком много места на диске.

С кибер-безопасностью связан целый отдельный аспект аномальной загрузки ЦП в Mac сервисом WindowServer и процессами, перечисленными выше. Эти нарушения могут сигнализировать о присутствии определенных штаммов малвари на компьютере Mac. Маловероятно, что киберпреступники будут проводить всестороннее тестирование своего вредоносного кода, что может приводить к сбоям при закулисном проникновении в систему. Также известно, что рекламные приложения, нацеленные на веб-браузеры, тратят массу ресурсов ЦП, оказывая чрезмерную нагрузку на легитимные службы macOS. Поэтому, если рабочую мощность вашего компьютера постоянно истощают процессы, описанные в этом руководстве, проверка его на вредоносную активность так же важна, как обнаружение и устранение регулярных сбоев системы.

Удаление вручную вирусов, вызывающих проблемы с высокой загрузкой ЦП сервисом WindowServer

Изложенные ниже шаги позволят Вам удалить это зловредное приложение. Обязательно следуйте инструкциям в указанном порядке.

  1. Разверните меню Переход на панели Finder Вашего Mac и выберите вкладку Утилиты, как показано ниже.

    Переход к Утилитам

  2. Найдите значок Мониторинг Системы в открытой вкладке Утилиты, и дважды щелкните его.

    Выбрать Мониторинг системы

  3. В открывшемся приложении Мониторинг системы найдите процесс, который выглядит подозрительным. Чтобы сузить область поиска, сфокусируйте внимание на незнакомых ресурсоемких процессах в списке. Имейте в виду, что название этого процесса не обязательно связано с проявлением угрозы, поэтому здесь Вам придется руководствоваться собственными оценками. Если Вы засекли нарушителя, выберите его и нажмите значок Стоп в верхнем левом углу экрана.

    Остановить зловредный процесс

  4. Когда появится всплывающее диалоговое окно с вопросом, уверены ли Вы, что хотите завершить проблемный процесс, выберите вариант Завершить принудительно.

    Подтвердите завершение вредоносного процесса

  5. Снова нажмите значок меню Переход панели Finder и выберите Переход к папке. Вы также можете использовать сочетание клавиш Command-Shift-G для быстрого перехода.

    Использовать функцию Переход к папке

  6. В диалоговом окне поиска папок введите /Библиотеки/LaunchAgents и нажмите кнопку Перейти.

    Открыть папку /Библиотеки/LaunchAgents

  7. Изучите содержимое папки LaunchAgents на предмет наличия сомнительных элементов. Обратите внимание, имена файлов, созданных зловредными программами, могут не выглядеть явно зловредными, поэтому следует искать недавно добавленные объекты, которые выглядят как отклонение от нормы.

    В качестве иллюстрации, вот несколько примеров из LaunchAgents, связанных с распространенными инфекциями Mac: com.pcv.hlpramc.plist, com.updater.mcy.plist, com.avickUpd.plist, и com.msp.agent.plist. Если обнаружите файлы, которые не принадлежат к списку, просто перетащите их в Корзину.

    Содержимое корневой папки LaunchAgents

  8. Снова используйте функцию поиска Переход к папке чтобы перейти к папке под названием ~/Библиотеки/Application Support (обратите внимание на символ тильды, добавленный перед путем).

    Открыть ~/Библиотеки/Application Support

  9. Когда откроется каталог поддержки приложений (Application Support directory), найдите в нем недавно созданные подозрительные папки и отправьте их в Корзину. Быстрый совет — ищите элементы, названия которых не имеют ничего общего с продуктами Apple или приложениями, которые Вы точно сами установили. Вот несколько примеров имен известных зловредных папок: UtilityParzeProgressSite и IdeaShared.

    Содержание папки Application Support

  10. Введите строку ~/Библиотеки/LaunchAgents (не забудьте включить символ тильды) в область поиска Переход к папке.

    Открыть каталог ~/Библиотеки/LaunchAgents

  11. В системе отобразятся Агенты запуска (LaunchAgents), находящиеся в каталоге Home текущего пользователя. Ищите сомнительные файлы, связанные с вирусом (см. алгоритм предыдущих пунктов) и перетащите подозрительные файлы в Корзину.

    Содержимое папки LaunchAgents в домашнем каталоге (home directory) пользователя

  12. Введите /Библиотеки/LaunchDaemons в строке поиска Переход к папке.

    Переход к /Библиотеки/LaunchDaemons

  13. В открытом окне вкладки LaunchDaemons попытайтесь определить файлы, которые зловред использует для персистентности (в данном случае, чтобы автоматически запускаться на корневом уровне). Несколько примеров таких объектов, генерируемых инфекциями Mac: com.pplauncher.plist, com.startup.plist и com.ExpertModuleSearchDaemon.plist. Немедленно удалите скомпрометированные файлы.

    Содержимое папки LaunchAgents в домашнем каталоге (home directory) пользователя

  14. Снова нажмите на значок меню Переход на панели Finder, и в перечне выберите Программы.

    Переход в окно Программы в Mac

  15. Найдите объект для приложения, которое там явно лишнее, и переместите его в Корзину. Если для подтверждения этого действия потребуется пароль администратора, просто введите его.

    Перетащите зловредную программу в Корзину

  16. Разверните меню Apple и выберите пункт Системные настройки.

    Выберите пункт Системные настройки

    Откройте Системные настройки

  17. Откройте Пользователи и группы и щелкните вкладку Объекты входа.

    Откройте Пользователи и группы

    Система отобразит список процессов, которые запускаются при включении компьютера. Найдите там потенциально нежелательное приложение и нажмите кнопку «-» (минус).

    Удалите нежелательный объект входа

  18. Теперь выберите Профили на вкладке Системные настройки. Ищите зловредный элемент на левой боковой панели. Несколько примеров профилей конфигурации, созданных Mac адварей: TechSignalSearch, MainSearchPlatform, AdminPrefs и Chrome Settings. Выберите зловредный элемент и нажмите на знак «минус» внизу, чтобы устранить его.

    Выберите Профили на вкладке Системные настройки

    Удалить зловредный профиль конфигурации из Mac

    Если Ваш Mac был заражен адварей, вирус, скорее всего, по-прежнему будет контролировать веб-браузер, который Вы используете по умолчанию, даже после того, как Вы удалите базовое приложение вместе с его компонентами в разных частях системы. Воспользуйтесь приведенными ниже инструкциями по очистке браузера, чтобы устранить оставшиеся последствия этой атаки.

Как удалить заражение WindowServer в веб-браузере Mac

Для начала необходимо вернуть в исходное состояние первичные настройки веб-браузера, которые были нарушены вирусом WindowServer. Это удалит большинство пользовательских конфигураций, историю веб-поиска и все временные данные, которые хранятся на веб-сайтах, но зато прекратит вмешательство вируса в работу браузера. Ниже изложены шаги для выполнения этой процедуры:

  1. Как удлить вирус WindowServer в Safari
    • Откройте браузер и перейдите в меню Safari. Выберите Настройки в выпадающем списке.

      Откройте Настройки в Safari

    • После появления окна Настройки, щелкните вкладку Дополнения и активируйте опцию «Показывать меню «Разработка» в строке меню».

      Вкладка Дополнения в Настройках Safari

    • Теперь, когда пункт Разработка добавлен в меню Safari, раскройте его и щелкните Очистить кэши.

      Очистить кэши в Safari

    • Далее, выберите История в меню Safari и щелкните Очистить историю в выпадающем списке.

      Очистить историю в Safari

    • В Safari появится диалоговое окно с запросом указать период времени, к которому относится это действие. Для максимального эффекта, выберите всю историю. Щелкните кнопку Очистить историю для подтверждения и выхода.

      Выберите «всю историю» в меню Очистить

    • Вернитесь в Настройки Safari и перейдите на вкладку Конфиденциальность в верхнем меню. Найдите опцию «Управлять данными веб-сайтов» и щелкните ее.

      Опция Управлять данными веб-сайтов во вкладке Конфиденциальность

    • В браузере появится следующее окно со списком веб-сайтов, которые хранят информацию о Вашей действиях в Интернете. Это диалоговое окно также содержит краткое описание последствий: данное действие может привести к выходу из веб-сайтов или изменению их поведения после завершения процедуры удаления данных. Если принимаете такие условия, просто щелкните кнопку Удалить все.

      Подтверждение выбора

    • Перезапустите Safari.

  2. Как удалить WindowServer в Google Chrome
    • Откройте Chrome, щелкните значок Настройка и управление Google Chrome (⁝) в правом верхнем углу окна и выберите Настройки в выпадающем списке.

      Настройки Chrome

    • В открытой панели Настройки, выберите Дополнительные.

    • Промотайте вниз до раздела Сбросить настройки.

      Сбросить настройки в Chrome на Mac

    • Подтвердите сброс настроек Chrome в появившемся диалоговом окне. По завершении процедуры, перезапустите браузер и проверьте отсутствие симптомов зловредного ПО.

      Как сбросить настройки Chrome в Mac

  3. Как удалить WindowServer в Mozilla Firefox
    • Откройте Firefox и перейдите в Справка – Информация для решения проблем (или наберите about:support в адресной строке и нажмите Enter).

      Откройте Firefox и перейдите в Справка

      Выберите Информация для решения проблем

    • В открытом окне Информация для решения проблем, нажмите кнопку Очистить Firefox.

      Очистить Firefox в Mac

    • Выполните подтверждение заявленных изменений и перезапустите Firefox.

Используйте автоматический инструмент, чтобы устранить проблему WindowServer в системе Mac

Приложение для обслуживания и безопасности Mac-компьютеров под названием Combo Cleaner — это универсальное средство для обнаружения и удаления вируса WindowServer. Этот метод имеет существенные преимущества по сравнению с ручной очисткой, поскольку утилита ежечасно получает обновления вирусных баз и может точно определять даже самые новые инфекции Mac.

Кроме того, автоматическое решение найдет основные файлы вредоносного ПО в глубине структуры системы, что может оказаться довольно трудоёмким при ручном поиске. Вот пошаговое руководство для решения проблемы WindowServer с помощью Combo Cleaner:

  1. Скачайте установщик Combo Cleaner. Когда сделаете это, сделайте двойной клик на файл combocleaner.dmg и следуйте инструкциям по установке программы на Ваш Mac.

    Скачать Combo Cleaner

    Загружая любые приложения, рекомендованные на этом сайте, вы соглашаетесь с нашими Условиями and Политикой Конфиденциальности. Бесплатный сканер проверяет, заражен ли ваш Мак. Чтобы избавиться от вредоносных программ, вам необходимо приобрести Премиум-версию Combo Cleaner.

  2. Откройте приложение с Панели запуска и дайте ему запустить обновление своей вирусной базы, чтобы убедиться, что оно сможет идентифицировать последние угрозы.

  3. Нажмите кнопку Start Combo Scan (Начать Сканирование), чтобы проверить ваш Mac на наличие вредоносных действий и проблем с производительностью..

    Combo Cleaner Mac scan progress

  4. Изучите результаты сканирования. Если в отчете написано “No Threats” (Нет угроз), то Вы правильно произвели ручной очистку и можете перейти к приведении в порядок Вашего веб-браузера, который, в свою очередь, может продолжать содержать последствия атаки вредоносного ПО (см. Инструкции выше).

    Combo Cleaner scan report – no threats found

  5. Если Combo Cleaner обнаружил вредоносный код, нажмите кнопку Remove Selected Items (Удалить Выбранные Объекты) и удалите силами утилиты зловредный WindowServer вместе с любыми другими вирусами, PUP (потенциально нежелательными программами) или ненужными файлами, которые не принадлежат вашему Mac..

    Combo Cleaner – threats found

  6. После того как вы дважды убедились, что вредоносное приложение удалено, в Вашем списке может всё ещё оставаться устранение неполадок на уровне браузера. Если ваш любимый браузер затронут, обратитесь к предыдущему разделу этой инструкции, чтобы вернуться к беспроблемному веб-серфингу.

This guide covers what WindowServer on your Mac is, why it consumes high CPU and memory resources, and, more importantly, how to reduce the CPU and memory it uses.

In the Activity Monitor, you may notice a process named WindowServer that consumes a significant amount of CPU and memory resources on your Mac.

So, what exactly is WindowServer on your Mac, and why is it using so much CPU and memory? Read on. In this article, you’ll find all the answers.

WindowServer High CPU And Memory Usage on Mac? Here's the Fix

What Is WindowServer on Mac?

WindowServer is one of the core components of macOS. It serves as the interface between all applications and actions on your screen. Every action you take within an application is reflected by the WindowServer, allowing you to see the results on your screen.

Why Is WindowServer Using So Much CPU and Memory on Mac?

Every program communicates with the WindowServer to display content on your screen. Consequently, the more applications you run, the more CPU and memory resources the WindowsServer process uses.

WindowServer’s primary function is to ensure your computer runs smoothly and efficiently. It does not engage in any malicious activities. However, there may be instances where the WindowServer consumes a substantial amount of CPU and memory resources, even when only a few applications are running.

Several factors could contribute to this:

  • Older Macs running the latest macOS.
  • Excessive login items.
  • Unnecessary visual effects.
  • Issues with external accessories.
  • macOS bugs.

How to Check CPU and Memory Usage on Mac

Before addressing this issue, let’s first learn how to check CPU and memory usage on your Mac.

Here are the steps:

  1. Open Activity Monitor via Spotlight or Launchpad.
  2. In the Activity Monitor window, you can see the CPU load, CPU time, CPU usage, and the number of threads associated with the WindowServer process.
    Check CPU Usage on Mac

  3. To view memory usage, click the Memory tab. From the list, you can identify which processes are utilizing your memory. Below the list, a graph displays the amount of memory in use.
    Check Memory Usage on Mac

How to Lower WindowServer’s CPU and Memory Usage on Mac

Running low on CPU and memory resources can result in a sluggish Mac. Here are some methods to reduce high CPU and memory usage caused by the Windows Server process.

Quit Unused Programs and Apps

As mentioned earlier, running numerous programs or applications can spike CPU and memory usage. It’s a good practice to quit programs you are not actively using.

In the Activity Monitor window, select the applications and processes you don’t need, click the Stop button, and choose Quit or Force Quit.

Force Quit Apps on Mac with Activity Monitor

Additionally, it’s essential to close any unused windows.

Adjust Display Settings

Visual effects such as motion and transparency can also increase CPU usage, particularly on older Macs. Follow these steps to disable them:

  1. Click the Apple menu and select System Settings > Accessibility.
  2. Click Display in the sidebar and turn on Reduce transparency.

Change Display Settings on Mac

Disable Unnecessary Login Items

Login items are programs that automatically start when you log into your Mac. Some of these programs may not be necessary to run at startup. Here’s how to prevent unneeded login items:

  1. Click the Apple menu and select System Settings > General > Login Items.
  2. Select the login item you want to stop, and click the Minus (-) button.

Disable Login Items on Mac Ventura, Sonoma, and Sequoia

Alternatively, you can use BuhoCleaner, a handy startup program manager, to take full control of all the login items and startup services on your Mac. Moreover, its RAM release feature can help you reclaim memory space in seconds. Just click the button below to start.

Declutter Your Desktop

Apple treats every icon on your desktop as an active window. This means that the more icons on your desktop, the more pressure it puts on your memory.

Organizing your desktop is easy. Just right-click on your desktop and choose Use Stacks, and you’ll see all the files on your desktop sorted.

Optimize Your Mac

Another way you can try is to optimize your Mac. If you don’t want to manually deal with the tedious cleanup, you can try BuhoCleaner.

BuhoCleaner is one of the best cleaning and optimization software for Mac. It simplifies the process of deleting unnecessary files, uninstalling unwanted applications, freeing up memory, monitoring CPU load and temperature, and more. It’s user-friendly and suitable for everyone.

  1. Download, install, and launch BuhoCleaner.
  2. Choose the function in the sidebar and click the Scan button in the right column.
  3. Check the boxes next to the files you want to delete and click the Remove button.

Quickly Clean Up Mac with BuhoCleaner

Conclusion

Now you have a better understanding of WindowServer on Mac and know what to do when it uses too much CPU and memory resources. Please note that to maintain the proper functioning of your Mac, it’s advisable to avoid high CPU and memory usage.

BuhoCleaner

Clean and Speed Up Your Mac Like a Pro

2021 Macbook Pro 14″ Windowserver high memory/cpu usage.

Hi,

I just got my new Macbook Pro with an M1 Pro CPU (16 GB RAM / Monterey) and currently as I’m writing this post, the Windowserver process needs 13,47 GB RAM. The only application is running is Firefox with 1 tab and Discord. Is this normal? I have to restart my notebook 2-3x a day to get it back to normal level. How can this problem be fixed? I hope Apple reacts since I spent 2400 EUR on this new notebook and it’s completely useless after a few hours of usage.

Thanks

Posted on Nov 21, 2021 3:23 AM

In this article you will find the following:

Your Mac runs many critical processes in the background to make everything work. But if you don’t regularly maintain the operating system, some of these processes can spin out of control and negatively impact performance. One such process that might slow things down is WindowServer.

In this troubleshooting guide, you’ll figure out what WindowServer is, why it’s taking up CPU and memory, and what you can do to reduce WindowServer activity on Mac.

A note from our experts:

Here’s how you can speed up your Mac with MacKeeper:

  1. Install MacKeeper and open it.
  2. Select the Start Full Scan button.
  3. Follow the recommendations in the scan report to optimize macOS.

What is WindowServer on Mac

WindowServer is the system process in macOS that renders what you see on your Mac’s desktop. It’s always running in the background, but the amount of processing power and memory it uses constantly changes depending on the activity on your screen.

Open an application, drag a window around, or interact with a user element, and WindowServer’s CPU usage can briefly spike as it redraws the screen. Do nothing, and the process will hum along at around 10-20%.  

WindowServer also requires a fair amount of memory to run—about 10% of the total RAM—and will gradually increase this amount as you work with multiple applications.

Unless you’re working with a graphically demanding program like Final Cut Pro or Adobe Photoshop, WindowServer shouldn’t always use a lot of system resources. Persistently high WindowServer CPU and memory usage indicates an issue with macOS.

How to check how much CPU your Mac’s WindowServer uses

By now, you‘re probably curious about just how much CPU your Mac’s WindowServer uses. Thankfully, there’s an easy way to check CPU usage on Mac.  

Here’s how to check if WindowServer is taking up CPU on your Mac:

  1. Go to Finder > Applications.
  2. Double-click on the Utilities folder.
  3. Open Activity Monitor.
  4. Now click on the CPU tab.
  5. Look for WindowServer on the list and check the percentage of CPU it’s currently using.
Steps 1-3: Go to Finder > Applications > Utilities, open Activity Monitor, and check the WindowServer process under the CPU tab.

Note from our team: Anything under 60% is fine. However, if WindowServer is taking up more than that, it’s using more CPU cycles than it should. You need to consider reducing that usage.  

Why does WindowServer use so much CPU

It’s not unusual for WindowServer to occasionally increase CPU usage and memory when a lot happens on your Mac’s screen. However, if the process always takes up system resources and causes the operating system and apps to slow down, there could be underlying problems.  

Reasons for WindowsServer using so much CPU and memory include:

  • Unexpected glitches in the system software and applications
  • Too many files and folders on the desktop area
  • Corrupt application and system caches
  • Multiple desktops in Mission Control
  • Multiple applications running on top of one another
  • Resource-heavy visual effects like app transparency and motion
  • Running an outdated or unstable version of macOS

Good to know: 

Kernel_task is another process that frequently appears at the top of the CPU tab in the Activity Monitor. Learn more about kernel_task on Mac.

How to reduce your Mac’s WindowServer CPU usage

We now know that multiple factors can increase your Mac’s WindowServer CPU usage. Therefore, it goes without saying that if you want your Mac to perform optimally, you must troubleshoot high WindowServer memory and CPU usage. Here’s how you can do that:

1. Restart your Mac

The quickest and simplest way to reduce your Mac’s WindowServer CPU usage is by restarting your device. This often solves a lot of problems and saves you time and energy. And you can do it in a few clicks, too.

Here’s how to reduce WindowServer on Mac with a system reboot:

  1. Click on the Apple icon in the top-left corner of the screen
  2. Scroll down and select Restart.
  3. Uncheck the box next to Reopen windows when logging back in and select Restart.
Screenshot that demonstrates how to access the Restart option on a Mac during WindowServer high memory usage troubleshooting.

Steps 1-2: Open the Apple menu and choose Restart.
Screenshot that demonstrates how to prevent windows from reloading while restarting a Mac during WindowServer high memory usage troubleshooting.

Steps 3: Disable the open to re-open windows and select Restart.

Pro tip:

Have trouble restarting your Mac? Learn how to force shut down a Mac that won’t turn off.

2. Declutter your desktop

A Mac desktop area littered with files and folders could glitch the WindowServer process into using more and more CPU and RAM. Consider moving the items into a separate location—such as your Documents folder—in Finder. If the problem goes away, you can gradually add them back.

Corrupt application caches and temporary system data also cause problems with processes like WindowServer. Removing these files can be difficult without breaking something, but that’s where MacKeeper’s Safe Cleanup can help.  

Here’s how to quickly remove cached app data and junk files with MacKeeper:

  1. Open MacKeeper.
  2. Select Safe Cleanup on the sidebar and choose Start Scan.
  3. Check the boxes next to Logs and Caches and select Clean Junk Files.
MacKeeper open on Mac. The MacKeeper dashboard screenshot demonstrates how to scan your Mac for junk files in MacKeeper during WindowServer high memory usage troubleshooting.

Steps 1-2: Open MacKeeper and select Start Scan under Safe Cleanup.
MacKeeper open on Mac. The MacKeeper dashboard screenshot demonstrates how to scan your Mac for junk files in MacKeeper during WindowServer high memory usage troubleshooting.

Step 3: Check the boxes next to Log and Caches and select Clean Junk Files.

3. Minimize the number of desktops in Mission Control

Although Mission Control helps you organize your Mac’s activity in separate virtual desktops, too many can strain the WindowServer process. Reduce the number of Mission Control desktops and check if that makes a difference.

Here’s how to reduce the number of desktops in Mission Control:

  1. Swipe up with three fingers on the touchpad to open Mission Control. If you use an iMac or Mac mini, press Mission Control (F3) on your keyboard’s top row.
  2. Hover the cursor over a desktop thumbnail at the top of the Mission Control screen and select X to close it.
  3. Repeat for other desktops you don’t need—try to keep the number to three or less.
Mac's Mission Control screenshot that demonstrates how to close the number of desktops in Mission Control during WindowServer high memory usage troubleshooting.

Steps 1-3: Swipe up with three fingers on the touchpad to open Mission Control and select the X icon next to a desktop to delete it.

4. Close windows you aren’t using

The more applications you open on your Mac, the more system resources WindowServer requires to display them. Make it a habit to close windows you aren’t using or quit unnecessary programs altogether—Control-click an app icon on the Dock and choose Quit.

Programs that freeze or crash can also result in high WindowServer CPU and RAM usage—try shutting them down using the Force Quit Applications dialog.

Here’s how to force-quit apps and stop WindowServer on Mac using RAM:

  1. Open the Apple menu and select Force Quit.
  2. Highlight an application you’d like to close.
  3. Select Force Quit to confirm.
Apple menu screenshot that demonstrates how to access the Force Quit Applications dialog on a Mac during WindowServer high memory usage troubleshooting.

Step 1: Open the Apple menu and select Force Quit.
The Force Quit Applications window screenshot demonstrates how to force-quit an application on a Mac during WindowServer high memory usage troubleshooting.

Steps 2-3: Pick an application and select Force Quit.

If you have trouble force-quitting problematic apps, learning how to kill background processes on Mac might be helpful.

5. Disable visual effects

Your Mac uses transparency and motion effects to enhance how the desktop, apps, and animations look, but at the cost of CPU and memory. Disable these visual effects if macOS WindowServer high memory usage issues persist.  

Here’s how to disable visual effects if WindowServer is taking up CPU and RAM:

  1. Open the Apple menu and select System Settings. If you use a Mac running macOS Big Sur, Monterey, or an older version, select System Preferences.
  2. Go to Accessibility > Display.
  3. Activate the Reduce Transparency and Reduce Motion options.
The Apple menu acreenshot demonstrating how to open the System Settings app on a Mac during WindowServer high memory usage troubleshooting.

Step 1: Open the Apple menu and choose System Settings.
The MacBook Settings app screenshot that demonstrates how to access the Display option in System Settings on a Mac during WindowServer high memory usage troubleshooting.

Step 2: Go to Accessibility > Display.
The System Settings window screenshot depicting how to disable visual effects via System Settings on a Mac during WindowServer high memory usage troubleshooting.

Step 3: Disable the Reduce Transparency and Reduce Motion options.

6. Turn off ProMotion

Apple Silicon Macbook Pro models come with a feature called ProMotion that increases the display’s refresh rate to 120 hertz. However, it also increases the amount of CPU and RAM that WindowServer uses. Turn off ProMotion and see if that helps.

Here’s how to disable ProMotion on your M1, M2, or M3 MacBook Pro:

  1. Open the System Settings app.
  2. Select Displays on the sidebar
  3. Open the pull-down menu next to Refresh rate and select 60 Hertz.
System Settings app screenshot on an Apple Silicon MacBook Pro demonstrating how to disable ProMotion on MacBook Pro during WindowServer high memory usage troubleshooting.

Steps 1-3: Go to System Settings > Displays > and set Refresh rate to 60 Hertz.

7. Disable Spaces for multiple displays

If your Mac has multiple displays, using separate Spaces can tax the CPU and RAM. Turn off Spaces if that doesn’t affect your workflow.

Here’s how to disable Spaces and reduce WindowServer on Mac:

  1. Open System Settings and go to Desktop & Dock. On older macOS versions, go to System Preferences > Mission Control.
  2. Turn off the Displays have separate Spaces option.
  3. Restart your Mac.
The System Settings window screenshot with the Desctop&Dock option highlighted. The picture demonstrates how to disable separate Spaces for displays on a Mac during WindowServer high memory usage troubleshooting.

Steps 1-2: Go to System Settings > Desktop & Dock and disable Displays have separate Spaces.

8. Update to the latest macOS

Running an older version of macOS can cause many issues on your Mac, including performance issues and, more importantly, a risk to your privacy. Many times, you don’t realize you haven’t updated it until your device starts running slowly.

It’s easy to update macOS. Follow the steps below to get started:

  1. Click on the Apple icon in the top-left corner of your Mac.
  2. Select System Settings or System Preferences.
  3. Go to General > Software Update. In System Preferences, you should find the option to update your Mac in the main area.
  4. Enable the Automatic Updates or Automatically keep my Mac up to date option to ensure you don’t miss any updates in the future.
  5. Now click on Update Now to update macOS.
The System Settings app screenshot that demonstrates how to check for macOS updates via System Settings on a Mac during WindowServer high memory usage troubleshooting.

Steps 1-2: Open the System Settings app and go to General > Software Update.
The System Settings app screenshot that demonstrates how to install pending macOS updates on a Mac during WindowServer high memory usage troubleshooting.

Step 3: Select Update Now.

Running newer versions of apps on your Mac can also reduce potential conflicts with system processes. Since manually checking for app updates can be time-consuming, use MacKeeper’s Update Tracker to speed things up.

Here’s how to update apps on your Mac with MacKeeper:

  1. Open MacKeeper.
  2. Select Update Tracker on the sidebar.
  3. Check the apps you want to update and select Update All.
MacKeeper app open on a MacBook. The MacKeeper dashboard screenshot that demonstrates how to scan for app updates on a Mac with MacKeeper during WindowServer high memory usage troubleshooting.

Steps 1-2: Open MacKeeper and select Update Tracker > Scan for Updates.
MacKeeper app open on a MacBook. The MacKeeper dashboard screenshot demonstrating how to install app updates on a Mac with MacKeeper during WindowServer high memory usage troubleshooting.

Step 3: Select Update All.

It is incredibly important to be updating your Mac operating system and installed apps every once in a while. This way, you can take advantage of the new security patches and always stay safe. MacKeeper will help you make this process autonomous.

Help your Mac work optimally again

If your Mac is running sluggishly, use the Activity Monitor to confirm that WindowServer is the process behind the slowdowns. Actions like restarting the device, trashing corrupt app caches, and updating the operating system should then stop WindowServer on Mac from using RAM and CPU. MacKeeper can also restore your Mac to its usual state quickly, help you keep macOS working optimally, and minimize similar problems going forward.

Mac OS WindowServer process supports each activity on the device. Many users do not notice it as it runs silently in the background.

Windowserver process on the Mac, however, can sometimes consume a lot of resources (specially CPU usage) and therefore it can slow down your computer.

The WindowsServer CPU usage increases due to a variety of reasons such as having many windows open. But… what is exactly the WindowServer process on a Mac?

Windowservers On Mac Facilitate Communication Among Displays And Apps

What Is Windowserver On Mac?

WindowServer is a process on Mac that facilitates communication between displays and apps. All open apps are rendered on display by this process. Simply put, when you have your Mac open, it is the Windowserver Mac responsible for allowing you to see it on your device.

A simpler way of answering the question of what is Windowserver on Mac is: Windowservers on Mac enable your machine to run smoothly by providing a communication mechanism between the display and apps.

It is what allows Mac users to see whatever is running on the machine.

Windowserver on Mac is responsible as well for redrawing your screen whenever you switch to another tab in Safari, moving open windows around, or editing videos or images.

Users need to know what Windowserver on Mac is to understand the implications of running too many apps or opening too many windows all at the same time.

Where Do You Find Windowserver CPU usage?

Your WindowServer on Mac might consume a high CPU load because you have multiple folders or files cluttering up the desktop screen.

Enabling visual effects like Motions and Transparency also results in multiple displays, which increases the WindowServer Mac CPU usage.

Here’s how you can check the CPU usage of Windowserver on your Mac.

Step 1: Open the Spotlight Search by pressing Command + Spacebar

press command and spacebar

Step 2: Type “Activity monitor” and press enter

type activity monitor

Step 3: Open the active processes by clicking on the “CPU” tab

click CPU tab

Step 4: Search for the “WindowServer” among the list of processes

Look for WindowServer among the list of processes

Step 5: Look for the “CPU percentage” of the Windowserver

Check the CPU percentage

9 Ways To Reduce the High CPU Usage of Windowserver on Mac

Having high CPU usage is relatively normal, but it can be concerning in some cases. This increased usage may cause your MAC to lag frequently. High CPU usage can also make it difficult for your device to perform even the simplest tasks.

Ideally, the Windowserver on your Mac should not take up more than 30%of CPU resources.

Below are some steps you can follow when you want to fix the high CPU usage of the Windowserver on your Mac.

Solution 1. Close Unnecessary Windows

Having many open windows makes WindowServer work harder. This is especially true if you’re using an older Mac device.

To reduce the overall load on your Mac system, you should also close all browser tabs you aren’t using.

Solution 2. Close Additional Desktops

You can also lower the Windowserver on Mac CPU usage by closing additional desktops. Here’s how.

  • Step 1: Go to the Dock and click the “Launchpad” Icon

    Click Launchpad Icon from the dock

  • Step 2: Choose “Mission Control”

    type mission control

  • Step 3: Use the mouse pointer to hover over unattended desktops

    hover the mouse pointer over unattended desktops

  • Step 4: Close it by clicking on ‘X’ in the upper corner of the desktop

    Click X to close

Solution 3. Reduce Transparency And Motion

Some visual effects settings on Mac devices are automatically enabled including Transparency and Motion. This allows Mac users to experience an enhanced visual experience overall.

Automatic enabling of visual settings, however, consumes a greater amount of CPU power. You may be able to avoid this problem by reducing these features.

You can follow these steps.

  • Step 1: Click on the “Apple Logo” found at the top left of your device’s screen

    Click the Apple logo

  • Step 2: Click “System Preferences”

    Click system preferences

  • Step 3: Double-click the “Accessibility” icon

    Double click accessibility icon

  • Step 4: Click the “Display” option from the left panel

    Click display

  • Step 5: Tick the boxes for “Reduce Motion” and “Reduce Transparency”

    Check boxes for Reduce Motion and Reduce Transparency

Solution 4. Clear Files

Aside from the disorganization of having plenty of files on your Mac device, it can also increase the CPU usage of your WindowServer.

This is because more visual elements are required as the number of files increases.

To prevent this from happening, you should either move all these files to a new folder or remove them from the desktop. This will allow you to significantly decrease the Windowserver CPU usage.

Solution 5. Uninstall Corrupt Applications

Sometimes, your Mac may be experiencing performance problems due to a corrupt application. It can also be consuming a lot of CPU energy and usage.

Try reverting to when the application was last installed and see if the problem occurred recently. See if your issue can be fixed by locating and uninstalling it from your device.

Follow these steps:

  • Step 1: Go to “Finder”

    Go to Finder

  • Step 2: Click “Applications”

    Click Applications

  • Step 3: Select the problematic app by command-clicking it

    click command-click on the problematic app

  • Step 4: Choose “Move to Trash” option from the list

    Choose move to trash

Solution 6. Turn Off Multiple Displays

Having more than one monitor connected to your device might also be causing the heavy CPU consumption of the WindowsServer on Mac.

The process is heavily affected by this factor given that external monitors lack a separate graphics processor unit or more commonly known as GPU.

This means that your device is taking care of all the graphical and visual processing.

Thus, your WindowServer on Mac is taking up an extraordinarily heavy CPU load. Taking out the external monitor may result in a decrease in CPU usage.

Related article: Mac stuck on “Checking for Updates”

Solution 7. Ensure That The System Software Is Updated

In many cases, system errors or bugs might be infiltrating the current version of your Mac.

This then might result in an even higher load on your process.

In order to prevent such issues, you should ensure that your Mac’s system software is up to date.

Here’s how to ensure the software is updated.

  • Step 1: Click the Apple logo on the upper left of your screen

    Click in the Apple logo

  • Step 2: Go to the “System Preferences” option

    Select System Preferences

  • Step 3: Go to “Software Update”

    Go to Software Update

  • Step 4: Click the “Update Now” button if an update is available

    Click Update now

Solution 8. Restarting Your Mac

Many Mac users do not shut down or restart their devices. They simply close the lid of their device after they’re done working and simply open it again.

Restarting, however, is essential as it deletes temporary files and cache, and frees up RAMs.

It can also fix problems such as too many CPU cycles being consumed by certain processes. Do your device a favor and shut down or restart your Mac now and then instead of simply putting it to sleep.

Solution 9. NVRAM/SMC Reset

You can also opt to reset your MAC’s NVRAM or SMC if it continuously fails to respond or still lags.

There is evidence that these resets help resolve minor issues and improve the smooth operation of your Mac.

To Reset NVRAM, Follow These Steps:

  • Step 1: Turn off your Mac by clicking the “Shut Down” option in the Apple Logo Menu.

    Shut down your Mac

  • Step 2: Press and hold down for roughly 10 seconds “Command + Option + P + R” keys

    Press Command + Option + P + R keys for 10 seconds

  • Step 3: Upon hearing the startup sound from your Mac, release all the keys.

    Release all the keys after hearing start-up sounds

To Reset SMC Follow These Steps:

  • Step 1: Shut down your Mac by clicking the “Shut Down…” option in the Apple Logo Menu.

    Shut down your device

  • Step 2: Press and hold simultaneously the “Shift + Option + Control + Power” buttons

    Press and hold Shift + Option + Control + Power buttons

  • Step 3: Release the keys and turn the power on again.

    Release keys and turn the power on

Is WindowServer On Mac A Virus?

The WindowServer On Mac is not a virus and is completely safe. The most important thing to know is that WindowServer on Mac is what every application you use on the device needs to display its content on the screen.

Why Does Windowserver Run On Mac?

The Windowserver process on Mac is the process that is responsible for managing the graphical interface as well as the overall visual appearance of the Mac. Without this process, your device may not run smoothly. Neither will you be able to view anything on your Mac dynamically.

The Windowserver on Mac plays a significant yet harmless role in the operating system.

Should You Stop Windowserver From Running On Your Mac?

No, experts do not recommend quitting the WindowServer on the Mac process given its critical role in the overall operation of your computer. You will be prompted to log out and all of your applications will be terminated if you choose to quit this process.

If you’re concerned that the Windowserver on Mac is causing your device to slow down, then you can simply check the CPU usage, and take action as outlined above.

The Windowserver On Mac Is Essential

The Windowserver on Mac has an essential role to play in the system as it is what allows displays and apps to communicate with each other.

Whatever you see on the screen of your Mac, you can be sure that the Windowserver is behind it. It’s not a virus, and should not be removed or terminated.

The WindowServer on Mac, however, can take up a significant percentage of the CPU resources, thus slowing down your device. You can check if this is the case and fix the problem accordingly.

Some of the steps you can do include closing unused windows and desktops, clearing files, turning off additional displays, and restarting your device.

Related Articles

  • Mac Option Key on Windows Keyboard
  • Scroll Lock on a Mac – How to Use & How To Turn It Off
  • 9+ Fastest Web Browsers For Mac [Reviewed & Ranked]
  • Best Mac Database Software
  • How To Scroll Down on Macbook Air & Pro

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как убрать яркость на мониторе windows 10
  • Забыл пароль от пользователя windows vista
  • Windows обнаружила ошибку компьютер будет перезагружен через 1 минуту
  • Какие программы можно удалить с компьютера windows 10 без вреда
  • Как найти стерео микшер в windows 10