ulimit /etc/security/limits.conf

/etc/security/limits.conf 2011-11-19 15:51:18
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。 http://liuleideshitou.blog.51cto.com/2062845/719179

[root@localhost ~]# cat /etc/security/limits.conf
# /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
#        - the wildcard %, can be also used with %group syntax,
#                 for maxlogin limit
#
#<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)--------------------最多CPU时间
#        - nproc - max number of processes-------------进程的最大数目
#        - as - address space limit---------------------地址空间限制
#        - maxlogins - max number of logins for this user----此用户允许登录的最大数目
#        - maxsyslogins - max number of logins on the system--系统允许登录的最多用户数
#        - priority - the priority to run user process with--用户进程的优先级运行
#        - locks - max number of file locks the user can hold--用户可以持有的文件锁最大数量
#        - sigpending - max number of pending signals---未处理信号的最大数量
#        - msgqueue - max memory used by POSIX message queues (bytes)--内存使用最大POSIX消息队列
#        - nice - max nice priority allowed to raise to--允许的最大优先级
#        - rtprio - max realtime priority----最大实时优先
#
#<domain>      <type>  <item>         <value>
#

#*               soft    core            0
#*               hard    rss             10000
#@student        hard    nproc           20
#@faculty        soft    nproc           20
#@faculty        hard    nproc           50
#ftp             hard    nproc           0
#@student        -       maxlogins       4
jacky           hard    maxlogins       3
# End of file

本文出自 “相信未来” 博客,请务必保留此出处http://liuleideshitou.blog.51cto.com/2062845/719179

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值