softlimit - runs another program with new resource limits.
Contents
Description
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.
Name
softlimit - runs another program with new resource limits.
Options
In each of the following opts,n may be =, indicating that the soft limit should be set equal to the hard
limit.
optscontrollingmemoryuse:-mn Same as -dn-sn-ln-an.
-dn Limit the data segment per process to n bytes.
-sn Limit the stack segment per process to n bytes.
-ln Limit the locked physical pages per process to n bytes. This option has no effect on some
operating systems.
-an Limit the total of all segments per process to n bytes. This option has no effect on some
operating systems.
-on Limit the number of open file descriptors per process to n. This option has no effect on some
operating systems.
-pn Limit the number of processes per uid to n.
optscontrollingfilesizes:-fn Limit output file sizes to n bytes.
-cn Limit core file sizes to n bytes.
Efficiencyopts:-rn Limit the resident set size to n bytes. This limit is not enforced unless physical memory is full.
-tn Limit the CPU time to n seconds. This limit is not enforced except that the process receives a
SIGXCPU signal after n seconds.
See Also
supervise(8), svc(8), svok(8), svstat(8), svscanboot(8), svscan(8), readproctitle(8), fghack(8), pgrphack(8), multilog(8), tai64n(8), tai64nlocal(8), setuidgid(8), envuidgid(8), envdir(8), setlock(8) http://cr.yp.to/daemontools.htmlsoftlimit(8)
Synopsis
softlimit [ opts ] child
