|
The kernel has supports for user limit (memory, processes
file handles). With virtual server, we may want to limit
the resources used by all processes in the virtual server.
The security context would be used as the key here.
The following resources could be limited on a security
context basis (as opposed to user or process basis)
- Memory used
- Processes number
(Done: This is now supported with the nproc flag in
the kernel 2.4.16ctx-4. By default a new vserver
is limited to 1000 processes maximum, configurable).
- File handles
|