devnumbertwo - $h!t for developers

View Original

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

See this content in the original post

display the current file desc limit

See this content in the original post

display the hard limit (i.e. cannot be exceeded)

See this content in the original post

display the soft limit (this can be increased up to the hard limit)

See this content in the original post

the following can be used to increase the soft limit.

See this content in the original post

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

See this content in the original post