# /etc/security/limits.conf
#
#Each line describes a limit for a user in the form:
#
#<domain>        <type>  <item>  <value>
#
#Where:
#<domain> can be:
#        - an user name
#        - a group name, with @group syntax
#        - the wildcard *, for default entry
#
#<type> can have the two values:
#        - "soft" for enforcing the soft limits
#        - "hard" for enforcing hard limits
#
#<item> can be one of the following:
#        - core - limits the core file size (KB)
#        - data - max data size (KB)
#        - fsize - maximum filesize (KB)
#        - memlock - max locked-in-memory address space (KB)
#        - nofile - max number of open files
#        - rss - max resident set size (KB)
#        - stack - max stack size (KB)
#        - cpu - max CPU time (MIN)
#        - nproc - max number of processes
#        - as - address space limit
#        - maxlogins - max number of logins for this user
#        - priority - the priority to run user process with
#
#<domain>      <type>  <item>         <value>
#
@webusers       hard    core    	5120
@webusers       hard    rss     	15360
@webusers       hard    data    	15360
@webusers       hard    nproc   	50
@webusers	-	maxlogins	4
@webusers       hard    nofile  	64
@webusers       hard    stack   	15360
@webusers       hard    fsize   	51200
@webusers       hard    memlock 	15360
@webusers       hard    cpu     	2
@webusers       hard    as      	25600
@users		hard	nproc		150
@users		-	maxlogins	10
www-data        hard    nproc           1024
www-data        hard    nofile          2048