117 |
|
|
118 |
shell> echo 128 > /proc/sys/kernel/msgmni |
shell> echo 128 > /proc/sys/kernel/msgmni |
119 |
|
|
120 |
or to make the increment persist across reboots, edit /etc/sysctl.conf and |
or to make the increment persist across reboots (This example taken from a |
121 |
add : |
RedHat system), edit /etc/sysctl.conf and add : |
122 |
|
|
123 |
# Increase Max Message Queues to 128 |
# Increase Max Message Queues to 128 |
124 |
kernel.msgmni = 128 |
kernel.msgmni = 128 |
125 |
|
|
126 |
(changes take effect on next reboot). |
Now load the new settings: |
127 |
|
|
128 |
|
shell> sysctl -p |
129 |
|
|
130 |
Follow this by a check to see if the change has been accepted: |
Follow this by a check to see if the change has been accepted: |
131 |
shell> ipcs -l |
shell> ipcs -l |