Why is the value of SHMALL parameter differing with ipcs command output?
Issue
-
The parameter SHMALL was set to be 16777216 in /proc/sys/kernel/shmall. However, with the command "ipcs -l", following is the output:
[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 -
Need to know why does these values differ.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
