网站大量收购独家精品文档,联系QQ:2885784924

ulimit详解(国外英文资料).doc

  1. 1、本文档共36页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ulimit详解(国外英文资料)

ulimit详解(国外英文资料) This is a very good article for the ulimit of Linux on the 11-24 10:46, which is a very good article about the limitations of ulimit. The original link: /home-space-uid-56821-do-blog-id-232810.html You can generally use the ulimit command or edit /etc/securi/in.conf to reload the method The ulimit is more direct, but only in the current session, and the limit.conf can be used in the next login, based on users and restrictions. The setting of the in.conf is done through the load of pam_limits. So, such as /etc/pam. D/SSHD, which loads the limit by SSH login. Or the /etc/pam. D/login load takes effect. The restrictions are analyzed below The core file size (blocks, -c) 0 Data seg size (kbytes, -d) unlimited Scheduling priority (-e) 20 a File size (blocks, -f) unlimited a Pending signals (-i) 16382 Max locked memory (kbytes, -l) 64 a Max memory size (kbytes, -m) unlimited a Open files (-n) 1024 a Pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 Real time priority (-r) 0 Stack size (kbytes, -s) 8192 CPU time (-t) unlimited Max user processes (-u) unlimited Virtual memory (kbytes, -v) unlimited File locks (-x) unlimited (1) limit the amount of file size (file size) generated by the process Lets start with the hard and soft limits of ulimit Hard limit the -h parameter, soft limit the -s parameter. Ulimit - a sees a soft limit, which you can see through ulimit-a-h. If the ulimit doesnt limit the use of -h or -s, its going to change both classes at the same time. The soft limit can limit the user/groups use of resources, and the hard limit is to control the soft limit. Both the superuser and the average user can expand the hard limit, but the superuser can narrow the hard limit, and the average user cant narrow the hard limit. When a hard limit is set, the set of soft limits can only be less than or equal to the hard limit. The following tests apply to hard and soft limits. 1) soft limits should not exceed hard limits Under the super user

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档