Java.net.SocketException:Too Many open files

Source: Internet
Author: User

Today implementation colleague reported that there is a node can not access, the scene of the WebLogic log back, shown as follows:

<2014-8-13 01:15 P.M. 01 sec cst> <Warning> <JDBC> <BEA-001129> <received exception while creating Connection for Pool "Wzdatasource": Io exception: The Network Adapter could not establish the connection>

<2014-8-13 01:15 P.M. 01 sec cst> <Warning> <JDBC> <BEA-001129> <received exception while creating Connection for Pool "Wzdatasource": Io exception: The Network Adapter could not establish the connection>
<2014-8-13 01:15 P.M. 01 sec cst> <Warning> <JDBC> <BEA-001129> <received exception while creating Connection for Pool "Wzdatasource": Io exception: The Network Adapter could not establish the connection>
<2014-8-13 01:15 P.M. 01 sec cst> <Critical> <Server> <BEA-002616> <failed to listen on channel "Default" on 10.91.1.111:7003, failure count:1, failing for 0 seconds, Java.net.SocketException:Too many open files>
<2014-8-13 01:15 P.M. 01 sec cst> <Warning> <JDBC> <BEA-001129> <received exception while creating Connection for Pool "Wzdatasource": Io exception: The Network Adapter could not establish the connection>
<2014-8-13 01:15 P.M. 02 sec cst> <Critical> <Server> <BEA-002616> <failed to listen on channel "Def Ault "on 10.91.1.111:7003, failure count:2, failing for 1 seconds, java.net.SocketException:Too many open files>
<2014-8-13 01:15 P.M. 04 sec cst> <Critical> <Server> <BEA-002616> <failed to listen on channel "Def Ault "on 10.91.1.111:7003, failure Count:3, failing for 3 seconds, java.net.SocketException:Too many open files>
<2014-8-13 01:15 P.M. 07 sec cst> <Critical> <Server> <BEA-002616> <failed to listen on channel "Def Ault "on 10.91.1.111:7003, failure count:4, failing for 6 seconds, java.net.SocketException:Too many open files>
<2014-8-13 01:15 P.M. 11 sec cst> <Critical> <Server> <BEA-002616> <failed to listen on channel "Def Ault "on 10.91.1.111:7003, failure count:5, failing for ten seconds, java.net.SocketException:Too many open files>
&LT;2014-8-13 01:15 P.M. 16 sec cst> <Critical> <Server> <BEA-002616> <failed to listen on channel "Def Ault "on 10.91.1.111:7003, failure count:6, failing for seconds, Java.net.SocketException:Too many open files>
<2014-8-13 01:15 P.M. 22 sec cst> <Critical> <Server> <BEA-002616> <failed to listen on channel "Def Ault "on 10.91.1.111:7003, failure count:7, failing for seconds, Java.net.SocketException:Too many open files>
<2014-8-13 01:15 P.M. 29 sec cst> <Critical> <Server> <BEA-002616> <failed to listen on channel "Def Ault "on 10.91.1.111:7003, failure count:8, failing for seconds, Java.net.SocketException:Too many open files>
<2014-8-13 01:15 P.M. 37 sec cst> <Critical> <Server> <BEA-002616> <failed to listen on channel  "Default" on 10.91.1.111:7003, failure count:9, failing for seconds, Java.net.SocketException:Too many open files>
<2014-8-13 01:15 P.M. 46 sec cst> <Critical> <Server> <BEA-002616> <failed to listen on channel "Def Ault "on 10.91.1.111:7003, failure count:10, failing for seconds, Java.net.SocketException:Too many open files>
<2014-8-13 01:15 P.M. 46 sec cst> <Critical> <Server> <BEA-002617> <attempting to close and reopen T He server socket on channel ' Default ' on 101.91.1.111:6003.>
<2014-8-13 01:15 P.M. 56 sec cst> <Notice> <Server> <BEA-002614> <reopening channel "Default" on 101.91.1.111:6003.>

<2014-8-13 01:15 P.M. 56 sec cst> <Error> <Server> <BEA-002606> <unable to create a Server sockets for Listening on channel "Default". The address 10.91.1.111 might be incorrect or another process is using port 6003:java.net.socketexception:too many open Files.>

Analysis log: The situation that cannot open the file, is the Unix open file number set Limited, it is reported that the site is safe rectification will be applied parameter adjustment, changed the setting of open file, make the following adjustments:

1. Setting Ulimit-u 65535
2. Modify the/etc/security/limits.conf at the end of the file plus
Soft Nofile 65535
Hard Nofile 65535

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.