From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Description of problem: Set sysv ipc parm shmall 536870912 (512MB) via sysctl or echo 536870912 > /proc/sys/kernel/shmall cat /proc/sys/kernel/shmall reports 536870912 (correct), but ipcs -lm reports ------ Shared Memory Limits -------- max number of segments = 4096 max seg size (kbytes) = 262144 max total shared memory (kbytes) = 2147483648 min seg size (bytes) = 1 which is a tad high at 2 TB. Version-Release number of selected component (if applicable): util-linux-2.11y-31.1 How reproducible: Always Steps to Reproduce: 1. echo 536870912 > /proc/sys/kernel/shmall 2. cat /proc/sys/kernel/shmall 3. ipcs -lm 4. check line with "max total shared memory (kbytes) =" Actual Results: max total shared memory (kbytes) = 2147483648 Expected Results: max total shared memory (kbytes) = 536870912 Additional info: checked RHL 9 - same problem exists in util-linux-2.11y-9
The /proc/sys/kernel/shmall setting is in number of memory pages - on ia32 systems, that is 4K. The present ipcs behaviour is correct.