0% found this document useful (0 votes)
94 views2 pages

Kernel Configuration: Websphere MQ Quick Beginnings For Linux

This document discusses the kernel configuration requirements for WebSphere MQ on Linux, including minimum values needed for resources like shared memory and semaphores. It provides commands to check current values and explains how to update the sysctl.conf file to set required values.

Uploaded by

Pavan P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views2 pages

Kernel Configuration: Websphere MQ Quick Beginnings For Linux

This document discusses the kernel configuration requirements for WebSphere MQ on Linux, including minimum values needed for resources like shared memory and semaphores. It provides commands to check current values and explains how to update the sysctl.conf file to set required values.

Uploaded by

Pavan P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

4/24/13 Help -

WebSphere MQ > Quick Beginnings for Linux > Server

Kernel configuration
WebSphere® MQ uses System V IPC resources, in particular shared memory and
semaphores.

The minimum configuration for WebSphere MQ for these resources is as follows:


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
If you plan to run more than one queue manager of moderate size on the server,
increase fs.file-max.

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

Each of these commands returns the value of the corresponding kernel


parameter. For example, cat /proc/sys/kernel/msgmnireturns the value for
kernel.msgmni. If any of the values is less than the minimum value, you need to
increase it to at least the minimum value.

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 -

To load these sysctl values immediately, enter the command:


sysctl -p

If you do not issue the sysctl -pcommand, the new values are loaded when
the system is rebooted.

Maximum open files

Maximum processes

Parent topic: Installing a WebSphere MQ server


This build: March 11, 2012 21:45:06

Notices | Trademarks | Downloads | Library | Support | Feedback

C opyright IBM C orporation 1999, 2011. All R ights R e se rve d.


This topic's UR L: http://publib.boulde r.ibm .com /infoce nte r/wm qv7/v7r0/topic/com .ibm .m q.am q1ac.doc/lq10410_.htm
lq10410_

publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.csqzaw.doc%2Fjm10330_.htm 2/2

You might also like