softlimit — runs another program with new resource limits.
softlimit [opts] {child}
opts is a series of getopt-style options.
child consists of one or more arguments.
softlimit sets soft resource limits as specified by opts.
It then runs child.
In each of the following opts, n may be =, indicating that the soft limit should be set equal to the hard limit.
opts controlling memory use:n]
Same as [-d n] [-s n] [-l n] [-a n].
n]
Limit the data segment per process to n bytes.
n]
Limit the stack segment per process to n bytes.
n]
Limit the locked physical pages per process to n bytes.
This option has no effect on some operating systems.
n]
Limit the total of all segments per process to n bytes.
This option has no effect on some operating systems.
n]
Limit the number of open file descriptors per process to n.
This option has no effect on some operating systems.
n]
Limit the number of processes per uid to n.