[09/11/18 11:18:19:403 GMT] 00000176 FileDocument E ADMR0104E: The system is unable to read document /opt/ibm/WebSphere/AppServer/profiles/Dmgr01/config/temp/download/cells/odm892Cell01/cell.xml: java.io.IOException: Too many open files
during an IBM ODM Rules build.
This was a new RHEL 7.6 VM.
Guess what I'd forgotten ?
Yep, my ulimits etc.
<snip>
Set Ulimits etc.
vi /etc/security/limits.d/20-nproc.conf
# - nofile - max number of open files
wasadmin soft nofile 65536
wasadmin hard nofile 65536
# - nproc - max number of processes
wasadmin soft nproc 16384
wasadmin hard nproc 16384
vi /etc/security/limits.conf
* hard nofile 10240
* soft nofile 10240
vi /etc/sysctl.conf
fs.file-max = 524288
</snip>
vi /etc/security/limits.d/20-nproc.conf
# - nofile - max number of open files
wasadmin soft nofile 65536
wasadmin hard nofile 65536
# - nproc - max number of processes
wasadmin soft nproc 16384
wasadmin hard nproc 16384
vi /etc/security/limits.conf
* hard nofile 10240
* soft nofile 10240
vi /etc/sysctl.conf
fs.file-max = 524288
</snip>
A few vi commands and a reboot later, and we're good to go.
No comments:
Post a Comment