Wednesday, 10 December 2014

java.net.SocketException: Too many files in weblogic/EM

Root Cause:
Maximum number of file descriptors configured for Server is less than 65535.

Resolution:
1. verify the maximum number of file descriptors currently configured using below command
    cat /proc/sys/fs/file-max
    if the value is less than 65535 then perform the following steps,
2. Edit the file /etc/security/limits.conf with root permission
    sudo vi /etc/security/limits.conf
3. Append the following two lines, using a value of 65535 or greater
     *                soft    nofile          65535
     *                hard    nofile          65535
4. Start a new terminal session
5. Execute the limit descriptors command to verify that descriptors has been increased to the specified value (at least 65535).
    limit descriptors
6. Restart Weblogic server.

No comments:

Post a Comment