Mac hardens when multiple development servers and tools are started.I want to find out which process is causing it.

Asked 2 years ago, Updated 2 years ago, 73 views

During development, I usually start various servers and tools before proceeding with the work.Specifically, after launching the development servers (web and api), there is one editor IDE for code in mysqld, mysql workbench, and a browser for verification.

At that time, sometimes the GUI of the mac itself hardens for a while and stops responding.Only the mouse works, but none of the other GUI elements stop working, typing on the keyboard does not respond, and basic GUI operations such as desktop switching are not possible.

At this point, I wanted to find out which process tools were causing this situation.

Question

  • What are some ways to investigate when the Mac GUI suddenly starts to harden while starting several tools?
    • When I check Activity Monitor after the screen starts to work, I can see that some process spiked CPU usage, but I don't know any more.
  • When I check Activity Monitor after the screen starts to work, I can see that some process spiked CPU usage, but I don't know any more.

macos

2022-09-30 21:35

1 Answers

The Mac I used until recently was quite old, and I sometimes suffered from similar symptoms.

    Press
  • option+command+escape and three keys to call the application shutdown screen, and (Not Response) appears on the right side of the heavy app, so check it and return without forcing it
  • Applications where the Rainbow cursor appears when you move the mouse over by moving the mouse cursor
  • Activity Monitor sorted and started in descending order by %CPU like any other tool
  • In Terminal, keep one window as top-ocpu and so on

Among them, it is recommended that you start Activity Monitor from scratch if you know it will happen.

If you also install paid software iStatmenus (your own site, App Store), the higher the %CPU application will not even be displayed if you click on the toolbar.


2022-09-30 21:35

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.