# phpman > info > softlimit

[softlimit(8)](https://www.chedong.com/phpMan.php/man/softlimit/8/markdown)                System Manager's Manual               [softlimit(8)](https://www.chedong.com/phpMan.php/man/softlimit/8/markdown)

NAME
       softlimit - runs another program with new resource limits.

SYNOPSIS
       softlimit [ opts ] child

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.

OPTIONS
       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:

       -m n   Same as -d n -s n -l n -a n.

       -d n   Limit the data segment per process to n bytes.

       -s n   Limit the stack segment per process to n bytes.

       -l n   Limit the locked physical pages per process to n bytes. This op-
              tion has no effect on some operating systems.

       -a n   Limit the total of all segments per process to n bytes. This op-
              tion has no effect on some operating systems.

       -o n   Limit the number of open file  descriptors  per  process  to  n.
              This option has no effect on some operating systems.

       -p n   Limit the number of processes per uid to n.

       opts controlling file sizes:

       -f n   Limit output file sizes to n bytes.

       -c n   Limit core file sizes to n bytes.

       Efficiency opts:

       -r n   Limit  the  resident  set size to n bytes. This limit is not en-
              forced unless physical memory is full.

       -t n   Limit the CPU time to n seconds. This limit is not enforced  ex-
              cept that the process receives a SIGXCPU signal after n seconds.

SEE ALSO
       [supervise(8)](https://www.chedong.com/phpMan.php/man/supervise/8/markdown),  [svc(8)](https://www.chedong.com/phpMan.php/man/svc/8/markdown),  [svok(8)](https://www.chedong.com/phpMan.php/man/svok/8/markdown),  [svstat(8)](https://www.chedong.com/phpMan.php/man/svstat/8/markdown),  [svscanboot(8)](https://www.chedong.com/phpMan.php/man/svscanboot/8/markdown), [svscan(8)](https://www.chedong.com/phpMan.php/man/svscan/8/markdown),
       [readproctitle(8)](https://www.chedong.com/phpMan.php/man/readproctitle/8/markdown),  [fghack(8)](https://www.chedong.com/phpMan.php/man/fghack/8/markdown),  [pgrphack(8)](https://www.chedong.com/phpMan.php/man/pgrphack/8/markdown),   [multilog(8)](https://www.chedong.com/phpMan.php/man/multilog/8/markdown),   [tai64n(8)](https://www.chedong.com/phpMan.php/man/tai64n/8/markdown),
       [tai64nlocal(8)](https://www.chedong.com/phpMan.php/man/tai64nlocal/8/markdown), [setuidgid(8)](https://www.chedong.com/phpMan.php/man/setuidgid/8/markdown), [envuidgid(8)](https://www.chedong.com/phpMan.php/man/envuidgid/8/markdown), [envdir(8)](https://www.chedong.com/phpMan.php/man/envdir/8/markdown), [setlock(8)](https://www.chedong.com/phpMan.php/man/setlock/8/markdown)

       <http://cr.yp.to/daemontools.html>

                                                                  [softlimit(8)](https://www.chedong.com/phpMan.php/man/softlimit/8/markdown)
