For my Oracle images, I do the following:
joe /etc/profile.local
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u16384 -u 65536
fi
fi
Tom Duerbusch
THD Consulting
>>> "Smith, Ann (ISD, IT)" <[email protected]> 1/2/2009 3:30 PM >>>
I am building virtual servers to run Websphere MQ broker.
I had to set various kernel parameters (including setting fs.file-max =
32768)
I am confused by some of the doc I received from the MQ folks- see
below:
* "Set ulimit to 4096. When dealing with large numbers of open
sockets (a single socket per concurrent connection) the operating system
may limit the number of files that a single process can open at one
time. On UNIX, the limit for the number of files that a process can open
also applies to sockets, and therefore you need to increase the maximum
open file handles setting to reflect the expected number of concurrent
connections"
The ulimit command has lots of options.
How can I determine what the defaults are (look at
/etc/security/limits.conf? or a ulimit option?)
How do I set ulimit for the id mqm if needed?
Ann Smith
Mainframe Systems Support -zVM and zLinux Support
Integrated Technology Delivery
IBM Global Service Integrated Operations At The Hartford
Work phone: 860-547-6110
Pager: 800-204-6367
Email: mailto:[email protected]
************************************************************
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential and/or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If you are
not the intended recipient, please notify the sender immediately by return
e-mail, delete this communication and destroy all copies.
************************************************************
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390