Kingsfordweg 151, 1043GR Amsterdam, The Netherlands ● 24/7 support — support@novogara.com
Knowledge base

Tracing a stuck process

A process that is stuck or burning CPU is not a mystery you have to guess at. The system can tell you exactly what it is waiting on, if you know what to ask.

Watch its system calls

Tracing the system calls a process makes shows whether it is blocked on a read, spinning on a lock, or waiting on the network. A process frozen on a single call tells you where to look next; one making no calls at all is stuck in its own code.

See what it holds

List the files, sockets and connections the process has open and you often see the cause directly — a connection to a database that is not answering, a file on a disk that is hanging. Pair it with a packet capture when the network is the suspect.

Do it carefully on production

Tracing adds overhead and attaching to a process can briefly slow it, so be deliberate on a busy box. Used with care it turns a vague hang into a specific cause — a step beyond watching the slow server symptoms.


Still stuck? Mail support@novogara.com — an engineer answers, at any hour. Back to the knowledge base