zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Lv <larry.lv.w...@gmail.com>
Subject java.net.SocketException: 打开的文件过多
Date Wed, 24 Dec 2014 02:14:39 GMT
java.net.SocketException: 打开的文件过多
at sun.nio.ch.Net.socket0(Native Method)
at sun.nio.ch.Net.socket(Net.java:415)
at sun.nio.ch.Net.socket(Net.java:408)
at sun.nio.ch.SocketChannelImpl.<init>(SocketChannelImpl.java:105)
at
sun.nio.ch.SelectorProviderImpl.openSocketChannel(SelectorProviderImpl.java:60)
at java.nio.channels.SocketChannel.open(SocketChannel.java:145)
at
org.apache.zookeeper.ClientCnxnSocketNIO.createSock(ClientCnxnSocketNIO.java:261)
at
org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:285)
at
org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:967)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1003)
2014-12-24 09:11:38 [main-SendThread(172.16.8.97:2181)] INFO
zookeeper.ClientCnxn : Opening socket connection to server
172.16.8.97/172.16.8.97:2181. Will not attempt to authenticate using SASL
(unknown error)
2014-12-24 09:11:38 [main-SendThread(172.16.8.97:2181)] WARN
zookeeper.ClientCnxn : Session 0x6249c76dd3fb0486 for server null,
unexpected error, closing socket connection and attempting reconnect
java.net.SocketException: 打开的文件过多
at sun.nio.ch.Net.socket0(Native Method)
at sun.nio.ch.Net.socket(Net.java:415)
at sun.nio.ch.Net.socket(Net.java:408)
at sun.nio.ch.SocketChannelImpl.<init>(SocketChannelImpl.java:105)
at
sun.nio.ch.SelectorProviderImpl.openSocketChannel(SelectorProviderImpl.java:60)
at java.nio.channels.SocketChannel.open(SocketChannel.java:145)
at
org.apache.zookeeper.ClientCnxnSocketNIO.createSock(ClientCnxnSocketNIO.java:261)
at
org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:285)
at
org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:967)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1003)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message