@@ -104,7 +104,7 @@ system limits, as in the following example:
104
104
-m: resident set size (kbytes) unlimited
105
105
-u: processes 192276
106
106
-n: file descriptors 21000
107
- -l: locked-in-memory size (kb) 40000
107
+ -l: locked-in-memory size (kb) unlimited
108
108
-v: address space (kb) unlimited
109
109
-x: file locks unlimited
110
110
-i: pending signals 192276
@@ -158,7 +158,7 @@ process.
158
158
159
159
Depending on your system's configuration, and default settings, any
160
160
change to system limits made using ``ulimit`` may revert following
161
- system a system restart. Check your distribution and operating
161
+ a system restart. Check your distribution and operating
162
162
system documentation for more information.
163
163
164
164
.. include:: /includes/note-suse-ulimit.rst
@@ -175,6 +175,7 @@ the following thresholds and settings are particularly important for
175
175
- ``-f`` (file size): ``unlimited``
176
176
- ``-t`` (cpu time): ``unlimited``
177
177
- ``-v`` (virtual memory): ``unlimited`` [#memory-size]_
178
+ - ``-l`` (locked-in-memory size): ``unlimited``
178
179
- ``-n`` (open files): ``64000``
179
180
- ``-m`` (memory size): ``unlimited`` [#memory-size]_ [#rss-linux]_
180
181
- ``-u`` (processes/threads): ``64000``
@@ -196,11 +197,12 @@ example:
196
197
197
198
.. code-block:: sh
198
199
199
- limit fsize unlimited unlimited # (file size)
200
- limit cpu unlimited unlimited # (cpu time)
201
- limit as unlimited unlimited # (virtual memory size)
202
- limit nofile 64000 64000 # (open files)
203
- limit nproc 64000 64000 # (processes/threads)
200
+ limit fsize unlimited unlimited # (file size)
201
+ limit cpu unlimited unlimited # (cpu time)
202
+ limit as unlimited unlimited # (virtual memory size)
203
+ limit memlock unlimited unlimited # (locked-in-memory size)
204
+ limit nofile 64000 64000 # (open files)
205
+ limit nproc 64000 64000 # (processes/threads)
204
206
205
207
Each ``limit`` stanza sets the "soft" limit to the first value specified and the "hard"
206
208
limit to the second.
@@ -236,6 +238,8 @@ example:
236
238
LimitCPU=infinity
237
239
# (virtual memory size)
238
240
LimitAS=infinity
241
+ # (locked-in-memory size)
242
+ LimitMEMLOCK=infinity
239
243
# (open files)
240
244
LimitNOFILE=64000
241
245
# (processes/threads)
0 commit comments