I have been a Keyboard Maestro user for years now and its such an integral part of my life..its as important as any OS I have ever used (ie macOS without it feels broken..)
the problem is that over the past year I have had terrible terrible issues with Keyboard Maestro stopping to work and freeze for a good 5-10 minutes every few hours..this naturally is very disruptive to my entire workflow. the freeze goes away after a quick reboot.
I have had this issue and started to debug this once before see:
but never got to understand how to fix it. moving a few months ago to my new MBP 2021 (with m1) seemed at start to solve this but quickly the same issues started appearing again..
I will also state that I not super technical so need some help but very willing to put as much needed time to resolve this though as I said I really need help and guidance from you guys
as I said this has been really hard on me in the last year and im very eager with your help to get to the bottom of this
deeply appreciate in advance any help from the community and @peternlewis
I rebooted last time today at 14:10 (to fix the Keyboard Maestro freeze) and here is the relevant section of the engine.log:
2022-08-30 13:56:57 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:57:01 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:57:02 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:57:35 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:57:37 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:57:46 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:58:29 Running application query took a while (4189 us)
2022-08-30 13:58:41 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:58:42 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:58:43 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:05 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:09 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:11 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:12 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:13 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:26 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:28 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:32 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:42 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:44 Execute macro “Automatically Approve Zoom Links” from trigger Application “Safari” activates
2022-08-30 13:59:44 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:46 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:53 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:57 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:00:10 Execute macro “Automatically Approve Zoom Links” from trigger Application “Safari” activates
2022-08-30 14:00:10 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:00:12 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:00:31 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:00:31 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:01:08 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Move a Keyboard Maestro palette
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Omnifocus Set Perspective
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Omnifocus Get Task Name
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get Task Estimated Duration
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Set Task Parent Task
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Execute a Script in Terminal
Last message repeated 16 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Move a Keyboard Maestro palette
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Omnifocus Set Perspective
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Omnifocus Get Task Name
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get Task Estimated Duration
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Set Task Parent Task
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Execute a Script in Terminal
Last message repeated 16 times
2022-08-30 14:07:19 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:19 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:22 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:26 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:26 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:48 Running application query took a while (3194 us)
2022-08-30 14:07:49 Stop Watching HID Devices
2022-08-30 14:07:49 Stopping web server
2022-08-30 14:07:49 Engine Quitting
2022-08-30 14:09:01 Engine Starting 10.1.1
2022-08-30 14:09:01 Old engine details remains a running process Running Engine Details/745
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Move a Keyboard Maestro palette
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Omnifocus Set Perspective
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Omnifocus Get Task Name
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get Task Estimated Duration
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Set Task Parent Task
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Execute a Script in Terminal
Last message repeated 16 times
2022-08-30 14:09:02 Start Watching HID Devices
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Move a Keyboard Maestro palette
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Omnifocus Set Perspective
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Omnifocus Get Task Name
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get Task Estimated Duration
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Set Task Parent Task
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Execute a Script in Terminal
Last message repeated 16 times
2022-08-30 14:09:02 Starting web server on ports 4490 and 4491
2022-08-30 14:09:02 Daemon launched by login window. Initiating login actions.
I will post again next freeze I have
let me know if any other information is needed, as I said willing to debug until white smoke comes out to solve this
Well without seeing the log entries from the time it was frozen it's hard to say but that's a LOT of executions of the "Automatically Approve Zoom Links" macro... i'd be curious if that macro might be overloading something when you experience the freeze.
Maybe try disabling it for a day and see if it still occurs.
Try using the Interactive Help (under the "Help" menu of Keyboard Maestro).
It might point you to a problem. It did for me when I upgraded to an M1 Mac.
If Keyboard Maestro of Keyboard Maestro Engine is freezing, use the Activity Monitor to get a sample of the process while it is frozen.
That will tell us where it is stuck.
Cases I've seen in the past are things like corrupted system caches or lists, weird system clipboard behaviours, or attempts to access a unmounted remote network disk (frequently to access an application).