Small Processes
Classification Key
: Perimeter Security
Problem
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?
Solution
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
Source
Hafiz et. al.
Tags
Resource Limit, DoS.
|