Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
softlimit(8)		    System Manager's Manual		  softlimit(8)

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, or -, indicating that both
       the soft	and hard limits	should be reset	to unlimited.

       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.

ENVIRONMENT
       SOFTLIMIT_ALLBYTES
	      Same as -a

       SOFTLIMIT_COREBYTES
	      Same as -c

       SOFTLIMIT_DATABYTES
	      Same as -d

       SOFTLIMIT_FILEBYTES
	      Same as -f

       SOFTLIMIT_LOCKEDBYTES
	      Same as -l

       SOFTLIMIT_MEMBYTES
	      Same as -m

       SOFTLIMIT_OPENFILES
	      Same as -o

       SOFTLIMIT_PROCS
	      Same as -p

       SOFTLIMIT_RSSBYTES
	      Same as -r

       SOFTLIMIT_STACKBYTES
	      Same as -s

       SOFTLIMIT_CPUSECS
	      Same as -t

SEE ALSO
       envdir(8),  envini(8),  envuidgid(8),  fghack(8),   multilog(8),	  pgr-
       phack(8),  readproctitle(8),  setlock(8), setuidgid(8), setuser(8), su-
       pervise(8),  svc(8),  svok(8),  svscan(8),  svscanboot(8),   svstat(8),
       tai64n(8), tai64nlocal(8)

								  softlimit(8)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | ENVIRONMENT | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=softlimit&sektion=8&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help