今天实施同事报现场有一个节点无法访问,把现场的weblogic日志拿回来,显示如下:
<2014-8-13 下午01时15分01秒 CST> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "wzDataSource": Io 异常: The Network Adapter could not establish the connection>
<2014-8-13 下午01时15分01秒 CST> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "wzDataSource": Io 异常: The Network Adapter could not establish the connection>
<2014-8-13 下午01时15分01秒 CST> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "wzDataSource": Io 异常: The Network Adapter could not establish the connection>
<2014-8-13 下午01时15分01秒 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分01秒 CST> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "wzDataSource": Io 异常: The Network Adapter could not establish the connection>
<2014-8-13 下午01时15分02秒 CST> <Critical> <Server> <BEA-002616> <Failed to listen on channel "Default" 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分04秒 CST> <Critical> <Server> <BEA-002616> <Failed to listen on channel "Default" 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分07秒 CST> <Critical> <Server> <BEA-002616> <Failed to listen on channel "Default" 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分11秒 CST> <Critical> <Server> <BEA-002616> <Failed to listen on channel "Default" on 10.91.1.111:7003, failure count: 5, failing for 10 seconds, java.net.SocketException: Too many open files>
<2014-8-13 下午01时15分16秒 CST> <Critical> <Server> <BEA-002616> <Failed to listen on channel "Default" on 10.91.1.111:7003, failure count: 6, failing for 15 seconds, java.net.SocketException: Too many open files>
<2014-8-13 下午01时15分22秒 CST> <Critical> <Server> <BEA-002616> <Failed to listen on channel "Default" on 10.91.1.111:7003, failure count: 7, failing for 21 seconds, java.net.SocketException: Too many open files>
<2014-8-13 下午01时15分29秒 CST> <Critical> <Server> <BEA-002616> <Failed to listen on channel "Default" on 10.91.1.111:7003, failure count: 8, failing for 28 seconds, java.net.SocketException: Too many open files>
<2014-8-13 下午01时15分37秒 CST> <Critical> <Server> <BEA-002616> <Failed to listen on channel "Default" on 10.91.1.111:7003, failure count: 9, failing for 36 seconds, java.net.SocketException: Too many open files>
<2014-8-13 下午01时15分46秒 CST> <Critical> <Server> <BEA-002616> <Failed to listen on channel "Default" on 10.91.1.111:7003, failure count: 10, failing for 45 seconds, java.net.SocketException: Too many open files>
<2014-8-13 下午01时15分46秒 CST> <Critical> <Server> <BEA-002617> <Attempting to close and reopen the server socket on on channel "Default" on 101.91.1.111:6003.>
<2014-8-13 下午01时15分56秒 CST> <Notice> <Server> <BEA-002614> <Reopening channel "Default" on 101.91.1.111:6003.>
<2014-8-13 下午01时15分56秒 CST> <Error> <Server> <BEA-002606> <Unable to create a server socket 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.>
分析日志:出现无法打开文件的情况,是unix打开文件数量设置受限,据悉现场是安全整改将应用参数调整,改小了open file的设置,作如下调整:
1.设置 ulimit -u 65535
2.修改/etc/ security/ limits.conf在文件末加上
soft nofile 65535
hard nofile 65535
java.net.SocketException: Too many open files,布布扣,bubuko.com
java.net.SocketException: Too many open files
原文:http://blog.csdn.net/stevendbaguo/article/details/38540577