Skip to content

Instantly share code, notes, and snippets.

@mikepea
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikepea/e668e593fe6488527b6a to your computer and use it in GitHub Desktop.
Save mikepea/e668e593fe6488527b6a to your computer and use it in GitHub Desktop.
Process State Playbook

Process State Playbook

Zombies!!!

Zombie processes are created when a child process dies, but due to the parent being blocked cannot provide the exit code back, and hence does not yet get reaped by the kernel.

They are visible in the process table with a 'Z' status.

Zombies will be taking up memory, but otherwise are not serious. Their presence is a smell of a badly behaved application.

Usually they can be killed by solving whatever problem their parent is reliant on, but sometimes only a reboot can remove them.

Blocked

Blocked processes are waiting on some form of external IO. If many are present, the system will have high load and generally not be behaving as expected.

Paging

Paging processes will be swapping out chunks of their memory to disk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment