Back to Security Pattern Catalog

Small Processes

Classification Key : Perimeter Security


A program memory processes can be limited by the memory used by the processes. If the processes grow unbounded, then there is a potential Denial of Service scenario. How can a program with many processes be made safe from resource exhaustion?


Make the processes small. Each process should perform one task. This will ensure that processes allocate limited memory.

Known Uses

qmail processes are very small and they only perform the required task.

Related Patterns

DoS Safety


Hafiz et. al.


Resource Limit, DoS.


Last modified: May 05, 2012

Conceived and Maintained by: Munawar Hafiz