MacOS – Can anyone interpret verbose shutdown messages

macosshutdown

I almost always boot up in Verbose mode so I can see what's happening during boot up/shut down. Usually critical errors make themselves obvious, some lesser errors aren't so obvious but can be cleared up, and yet other errors aren't really errors at all and should be expected. I've fixed a bunch of things on startup, and now I'm trying to figure out messages I see on shutdown.

I'm basically just wondering if anyone can be an interpreter and tell me if any of this is bad or should not be happening, or if it all just looks normal.

Sorry for posting these messages as a photo. I'm not sure where to find a text log, if there is one:

enter image description here

It looks like there are a lot of processes that are staying alive until the system finally gives up on them and kills them all. If this is to be expected, that would be helpful to know. If not, how can I make the shut down run more smoothly?

Oh, and can anyone explain the anonymous.sudo processes? Is that okay? Where might that come from?

Thanks for any illumination you can offer!

Best Answer

It depends on each executable.

The closedown process sends a signal SIGTERM to each process and the process should then cleanup and shut itself down. This includes subprocesses and that appears to be most of the lines in your log - perhaps the parent does not shut its subprocesses down when it does, also see Unix zombie processes in wikipaedia

I would suggest that the original parent has not behaved 'properly' but probably does not matter unless there become many more zombie processes when the OS could run out of process handles.