Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

为什么SHMALL参数的值和ipcs命令的输出结果不同呢?

Solution Verified - Updated -

Issue

在/proc/sys/kernel/shmall文件中,SHMALL参数被设置为16777216.可是跟ipcs -l的输出结果不同,下面是输出结果。
[root@test kernel]# ipcs -l

------ Shared Memory Limits --------
max number of segments = 8192
max seg size (kbytes) = 33554432
max total shared memory (kbytes) = 67108864
min seg size (bytes) = 1

------ Semaphore Limits --------
max number of arrays = 8192
max semaphores per array = 250
max semaphores system wide = 256000
max ops per semop call = 32
semaphore max value = 32767

------ Messages: Limits --------
max queues system wide = 31744
max size of message (bytes) = 65536
default max size of queue (bytes) = 65536

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.