What is a process in Linux and why do so many appear on a server?

Published on 2026-10-20 by frfrand

Linux processes explained: what a PID is, how to view them with ps and top, CPU and memory usage, signals such as SIGTERM, and the difference between process and program.

What is a process in Linux and why do so many appear on a server?

Short answer: A process is an instance of a program that is running or maintains a state managed by the operating system. In Linux, each process has its own information, such as an identifier, resources, and associated permissions.

That is why you can have an application installed only once and several instances running at the same time. The program file and the processes it executes are different concepts.

Why are there hundreds of processes even if I don't open anything?

Because the computer keeps working: it manages networks, logs events, runs services, and handles requests in the background.

On a server without a desktop, for example, there may be processes for SSH, databases, Nginx, monitoring, and system tools. You do not need to have a window open for a process to be active.

Some processes wait almost all the time without consuming too much CPU. Their existence does not automatically imply that the server is overloaded.

What is a PID?

PID stands for Process Identifier: a number that the system uses to identify a process during its existence.

In Linux you can consult processes with tools such as:

ps aux
top

ps shows information at a given moment; top allows you to observe activity changes. There are also tools like htop and special files under /proc.

The PID is not a permanent identity. When a process ends, the number can be reused at another time.

Who starts a process?

In Linux there are kinship relationships between processes. One can start another and become its parent process.

For example, a service can launch workers that handle specific jobs. If the main process ends, the management of dependent processes will depend on how the program and the system are designed.

This behavior helps to understand why sometimes processes remain running after closing a terminal, or why restarting a service creates new instances with other PIDs.

What resources does it use?

A process can consume CPU time, memory, connections, and file descriptors. The kernel organizes access to those resources.

But seeing a high memory value in a tool does not necessarily mean that the process is wasting it. There is shared memory, caches, and other ways of accounting for resources.

To diagnose a problem, combine observation of CPU, RAM, disk, network, and actual application behavior.

What is a signal?

Signals are a communication and control mechanism between the system and processes.

For example, SIGTERM usually requests a termination that the program can handle, while SIGKILL causes a forced termination that does not allow the same cleanup process.

Using kill -9 as a first solution for any stuck process can leave operations incomplete. Whenever possible, try an orderly stop first.

Is a process a service?

A service is usually a component intended to provide a function on an ongoing basis, often supervised by a manager such as systemd. It can consist of one or many processes.

A process, on the other hand, can also be a short command that you run once and then ends.

It is not advisable to confuse the .service file with the process that runs it: the unit describes how a service should be managed.

What happens when a process hangs?

It may be waiting for I/O, blocked by a resource, consuming CPU without progress, or may have suffered a logic error.

Restarting it can be a temporary solution, but it does not explain what caused the failure. To investigate, check logs, resource usage, connections, and recent changes.

If the service restarts continuously, it is best to resolve the cause before hiding the problem by increasing the number of attempts.

And on an ArduMaker VPS?

A deployment executed on ArduMaker ends up becoming real processes on the server: backend, Nginx, workers or databases, generally as systemd services. From the platform you can view the live status of the VPS (CPU, memory, disk, uptime and running services), read the logs of each service and start, stop or restart it; to view processes one by one (ps, top), use the web terminal. Understanding PIDs and consumption helps you distinguish whether the problem lies in the application, the configuration or the available resources.

In summary: a process is a concrete execution of a program under the control of the operating system. Seeing many processes is normal; what matters is knowing which ones should be there and how they behave.

Frequently asked questions

What is a zombie process?

It is a process that has already finished but whose parent has not yet read its exit status, so it continues to occupy an entry in the process table (it appears with status Z in ps). It does not consume CPU or memory; the problem appears if many accumulate, and it is resolved by correcting or restarting the parent process.

What is PID 1?

It is the first process started by the kernel. In most current distributions, including Ubuntu, it is systemd, which starts and supervises the other services and adopts processes that become orphaned.

Sources: Proc on Linux · How child processes are managed.

What is a process in Linux and why do so many appear on a server?
  • procesos
  • Linux
  • servidores
  • PID

Keep reading

All articles · VPS plans