Đom' Đóm Nhỏ'
New member
How do I change Shmmax parameters in Linux?
Answer
You do not need to adjust the default semaphore settings.
Answer
You do not need to adjust the default semaphore settings.
- Log in as root.
- Edit the file /etc/sysctl. conf. …
- Set the values of kernel.shmax and kernel.shmall, as follows: echo MemSize > /proc/sys/shmmax echo MemSize > /proc/sys/shmall. …
- Reboot the machine using this command: sync; sync; reboot.