/etc/security/limits.conf

* soft core unlimited 

* hard core unlimited 

* soft data unlimited

* hard data unlimited

* soft fsize unlimited

* hard fsize unlimited

* soft memlock -1 

* hard memlock -1 

* soft nofile 20000

* hard nofile 20000

* soft rss unlimited

* hard rss unlimited

* soft stack unlimited

* hard stack unlimited

* soft cpu unlimited

* hard cpu unlimited

* soft nproc unlimited

* hard nproc unlimited

* soft as unlimited

* hard as unlimited

* soft maxlogins unlimited

* hard maxlogins unlimited

* soft maxsyslogins unlimited

* hard maxsyslogins unlimited

* soft priority 0

* hard priority 0

* soft locks unlimited

* hard locks unlimited

* soft sigpending unlimited

* hard sigpending unlimited

* soft msgqueue unlimited

* hard msgqueue unlimited

* soft nice 0

* hard nice 0

* soft rtprio unlimited

* hard rtprio unlimited

 

 

core

limits the core file size (KB)

 

data

maximum data size (KB)

 

fsize

maximum filesize (KB)

 

memlock

maximum locked-in-memory address space (KB)

 

nofile

maximum number of open files

 

rss

maximum resident set size (KB) (Ignored in Linux 2.4.30 and higher)

 

stack

maximum stack size (KB)

 

cpu

maximum CPU time (minutes)

 

nproc

maximum number of processes

 

as

address space limit (KB)

 

maxlogins

maximum number of logins for this user except for this with uid=0

 

maxsyslogins

maximum number of logins on system

 

priority

the priority to run user process with (negative values boost process priority)

 

locks

maximum locked files (Linux 2.4 and higher)

 

sigpending

maximum number of pending signals (Linux 2.6 and higher)

 

msqqueue

maximum memory used by POSIX message queues (bytes) (Linux

2.6 and higher)

 

nice

maximum nice priority allowed to raise to (Linux 2.6.12 and higher) values: [-20,19]

 

rtprio

maximum realtime priority allowed for non-privileged processes (Linux 2.6.12 and higher)

 

chroot

the directory to chroot the user to

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值