Kernel Configuration: Websphere MQ Quick Beginnings For Linux
Kernel Configuration: Websphere MQ Quick Beginnings For Linux
Kernel configuration
WebSphere® MQ uses System V IPC resources, in particular shared memory and
semaphores.
To view the kernel parameters for your system, enter the following commands:
cat /proc/sys/kernel/msgmni
cat /proc/sys/kernel/shmmni
cat /proc/sys/kernel/shmall
cat /proc/sys/kernel/shmmax
cat /proc/sys/kernel/sem
cat /proc/sys/fs/file-max
cat /proc/sys/net/ipv4/tcp_keepalive_time
To add or alter these values, log on as a user with root authority. Open the file
/etc/sysctl.confwith a text editor, then add or change the following entries
to the values shown:
kernel.msgmni = 1024
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.shmmax = 268435456
kernel.sem = 500 256000 250 1024
fs.file-max = 524288
net.ipv4.tcp_keepalive_time = 300
Then save and close the file.
publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.csqzaw.doc%2Fjm10330_.htm 1/2
4/24/13 Help -
If you do not issue the sysctl -pcommand, the new values are loaded when
the system is rebooted.
Maximum processes
publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.csqzaw.doc%2Fjm10330_.htm 2/2