summaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl/kernel.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/sysctl/kernel.txt')
-rw-r--r--Documentation/sysctl/kernel.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
index 1c7fb0a94e28..704e474a93df 100644
--- a/Documentation/sysctl/kernel.txt
+++ b/Documentation/sysctl/kernel.txt
@@ -61,6 +61,7 @@ show up in /proc/sys/kernel:
61- rtsig-nr 61- rtsig-nr
62- sem 62- sem
63- sg-big-buff [ generic SCSI device (sg) ] 63- sg-big-buff [ generic SCSI device (sg) ]
64- shm_rmid_forced
64- shmall 65- shmall
65- shmmax [ sysv ipc ] 66- shmmax [ sysv ipc ]
66- shmmni 67- shmmni
@@ -518,6 +519,27 @@ kernel. This value defaults to SHMMAX.
518 519
519============================================================== 520==============================================================
520 521
522shm_rmid_forced:
523
524Linux lets you set resource limits, including how much memory one
525process can consume, via setrlimit(2). Unfortunately, shared memory
526segments are allowed to exist without association with any process, and
527thus might not be counted against any resource limits. If enabled,
528shared memory segments are automatically destroyed when their attach
529count becomes zero after a detach or a process termination. It will
530also destroy segments that were created, but never attached to, on exit
531from the process. The only use left for IPC_RMID is to immediately
532destroy an unattached segment. Of course, this breaks the way things are
533defined, so some applications might stop working. Note that this
534feature will do you no good unless you also configure your resource
535limits (in particular, RLIMIT_AS and RLIMIT_NPROC). Most systems don't
536need this.
537
538Note that if you change this from 0 to 1, already created segments
539without users and with a dead originative process will be destroyed.
540
541==============================================================
542
521softlockup_thresh: 543softlockup_thresh:
522 544
523This value can be used to lower the softlockup tolerance threshold. The 545This value can be used to lower the softlockup tolerance threshold. The