daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Oct 3rd, 2012 24 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #<domain> can be:
  2. #        - an user name
  3. #        - a group name, with #<domain> can be:
  4. #        - an user name
  5. #        - a group name, with @group syntax
  6. #        - the wildcard *, for default entry
  7. #        - the wildcard %, can be also used with %group syntax,
  8. #                 for maxlogin limit
  9. #        - NOTE: group and wildcard limits are not applied to root.
  10. #          To apply a limit to the root user, <domain> must be
  11. #          the literal username root.
  12. #
  13. #<type> can have the two values:
  14. #        - "soft" for enforcing the soft limits
  15. #        - "hard" for enforcing hard limits
  16. #
  17. #<item> can be one of the following:
  18. #        - core - limits the core file size (KB)
  19. #        - data - max data size (KB)
  20. #        - fsize - maximum filesize (KB)
  21. #        - memlock - max locked-in-memory address space (KB)
  22. #        - nofile - max number of open files
  23. #        - rss - max resident set size (KB)
  24. #        - stack - max stack size (KB)
  25. #        - cpu - max CPU time (MIN)
  26. #        - nproc - max number of processes
  27. #        - as - address space limit (KB)
  28. #        - maxlogins - max number of logins for this user
  29. #        - maxsyslogins - max number of logins on the system
  30. #        - priority - the priority to run user process with
  31. #        - locks - max number of file locks the user can hold
  32. #        - sigpending - max number of pending signals
  33. #        - msgqueue - max memory used by POSIX message queues (bytes)
  34. #        - nice - max nice priority allowed to raise to values: [-20, 19]
  35. #        - rtprio - max realtime priority
  36. #        - chroot - change root to directory (Debian-specific)
  37. #
  38. #<domain>      <type>  <item>         <value>
  39. #
  40.  
  41.  
  42. *               hard    stack           12800
  43. *               hard    fsize           unlimited
  44. *               hard    msqqueue        unlimited
  45. *               hard    locks           unlimted
  46. *               hard    nproc           unlimited
  47. *               hard    nofile          unlimited
  48.  
  49. #*               soft    core            0
  50. #root            hard    core            100000
  51. #*               hard    rss             10000
  52. #@student        hard    nproc           20
  53. #@faculty        soft    nproc           20
  54. #@faculty        hard    nproc           50
  55. #ftp             hard    nproc           0
  56. "limits.conf" 64L, 2301C                           group syntax
  57. #        - the wildcard *, for default entry
  58. #        - the wildcard %, can be also used with %group syntax,
  59. #                 for maxlogin limit
  60. #        - NOTE: group and wildcard limits are not applied to root.
  61. #          To apply a limit to the root user, <domain> must be
  62. #          the literal username root.
  63. #
  64. #<type> can have the two values:
  65. #        - "soft" for enforcing the soft limits
  66. #        - "hard" for enforcing hard limits
  67. #
  68. #<item> can be one of the following:
  69. #        - core - limits the core file size (KB)
  70. #        - data - max data size (KB)
  71. #        - fsize - maximum filesize (KB)
  72. #        - memlock - max locked-in-memory address space (KB)
  73. #        - nofile - max number of open files
  74. #        - rss - max resident set size (KB)
  75. #        - stack - max stack size (KB)
  76. #        - cpu - max CPU time (MIN)
  77. #        - nproc - max number of processes
  78. #        - as - address space limit (KB)
  79. #        - maxlogins - max number of logins for this user
  80. #        - maxsyslogins - max number of logins on the system
  81. #        - priority - the priority to run user process with
  82. #        - locks - max number of file locks the user can hold
  83. #        - sigpending - max number of pending signals
  84. #        - msgqueue - max memory used by POSIX message queues (bytes)
  85. #        - nice - max nice priority allowed to raise to values: [-20, 19]
  86. #        - rtprio - max realtime priority
  87. #        - chroot - change root to directory (Debian-specific)
  88. #
  89. #<domain>      <type>  <item>         <value>
  90. #
  91.  
  92.  
  93. *               hard    stack           12800
  94. *               hard    fsize           unlimited
  95. *               hard    msqqueue        unlimited
  96. *               hard    locks           unlimted
  97. *               hard    nproc           unlimited
  98. *               hard    nofile          unlimited
  99.  
  100. #*               soft    core            0
  101. #root            hard    core            100000
  102. #*               hard    rss             10000
  103. #@student        hard    nproc           20
  104. #@faculty        soft    nproc           20
  105. #@faculty        hard    nproc           50
  106. #ftp             hard    nproc           0
  107. "limits.conf" 64L, 2301C
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top