Weblogic 12 socket leakage and weblogic

Source: Internet
Author: User

Weblogic 12 socket leakage and weblogic

Field weblogic reports <DynamicListenThread [Default]> <WLS Kernel> <1417715701920> <BEA-002631> <Max threshold reached for open sockets [total open sockets: 5,000, allowed max: 5,000]. no more connections allowed.>

There are two solutions:


BEA-002631-Reached Maximum Open Sockets/Leak of Sockets in CLOSE_WAIT state (Documentation ID 1673969.1)
Go to the bottom

In this Document

Symptoms
  Cause
  Solution
  References


Applies to: Oracle WebLogic Server-Version 12.1.2.0.0 and later
Information in this document applies to any platform.
SYMPTOMS

In a lightly loaded staging environment, the maximum open sockets was reached as below.

06-Dec-2013 20:03:03 o 'clock GMT Warning Server rds09470app145 rdms1-restgp2b DynamicListenThread [Default] WLS Kernel 1386360183611 BEA-002631 Max threshold reached for open sockets [total open sockets: 1,000, allowed max: 1,000]. no more connections allowed.

In WLS 11g and 8.1 domains running on the same hardware with 1000 sockets, this issue was not observed.

CAUSE

Using NIOSocketMuxer (the default socket muxer in 12.1.2), the socket closure depends on the finalizer mechanic. if the finalizer thread does not kick in (e.g ., no GC), the socket closure will not happen and you will reach the number of open sockets configured.

A second issue was that disabling the MAX-OPEN-SOCK-COUNT setting requires a reboot, although the console says that a reboot is unnecessary.

A third issue was that although the first issue is solved, a number of sockets in CLOSE_WAIT were still found, leading to the server ceasing to process requests.

Observations:

SOLUTION

Solution retained by this customer is to drop MAX-OPEN-SOCK-COUNT and to apply the known workaround against the deadlock. The other solution is to install the following patches on WLS 12.1.2:

  • Patch 18108916
  • Patch 18289179
  • Patch 16784672
REFERENCES
BUG: 18396023-NIO: Unsupported native sockets in CLOSE_WAIT, NO JAVA SOCKET LEAKS
BUG: 18289179-SETTING MAX-OPEN-SOCK-COUNT REQUIRES ENTITY REBOOT

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.