too many open files weblogic
by default webLogic configures 1024 file descriptors. webLogic limits the number of open file descriptors by checking the OS limit in a shell script.
use the following to check or increase the file descriptor limit;
get the weblogic process id
ps –ef |grep java
display the current file desc limit
pfiles processId | grep rlimit
display the hard limit (i.e. cannot be exceeded)
display the soft limit (this can be increased up to the hard limit)
the following can be used to increase the soft limit.
ulimit -S -n 4096
what’s weird is this doesn’t always work for me – alternatively, you can increase the soft (and hard) limit by just editing the file /etc/security/limits.conf
might look something like this
* soft core 4096 * hard nofile 4096 @student hard nproc 20 @faculty soft nproc 20 @faculty hard nproc 50 ftp hard nproc 0 @student - maxlogins 4 :123 hard cpu 5000 @500: soft cpu 10000 600:700 hard locks 10