30.4. Threads

A thread is a “lighter” form of a process. The advantage of a thread over a process is its lower resource consumption. For this reason, the use of threads instead of processes increases performance. The disadvantage is that applications executed in a thread environment must be thread-safe. This means that:

Apache 2 handles queries as separate processes or in a mixed mode combining processes and threads. The MPM prefork is responsible for the execution as process. The MPM worker prompts execution as thread. Select the MPM to use during the installation (see Section 30.5, “Installation”). The third mode—perchild—is not yet fully mature and is therefore not available for installation in SUSE LINUX.


SUSE LINUX Administration Guide 9.3