csmijo
2013-06-07 07:27
采纳率: 50%
浏览 4.7k
已采纳

java.net.SocketException too many open files

下面是错误信息:
2013-6-3 11:10:52 org.apache.http.impl.client.DefaultRequestDirector tryConnect
信息: I/O exception (java.net.SocketException) caught when connecting to the target host: Too many open files
2013-6-3 11:10:52 org.apache.http.impl.client.DefaultRequestDirector tryConnect
信息: Retrying connect
java.net.SocketException: Too many open files
at java.net.Socket.createImpl(Socket.java:397)
at java.net.Socket.getImpl(Socket.java:460)
at java.net.Socket.setSoTimeout(Socket.java:1017)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:126)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
at org.whu.weibo.util.NextPage.getPage(NextPage.java:48)
at org.whu.weibo.content.NTESweibo.crawler(NTESweibo.java:42)
at org.whu.Scan.scanByPage(Scan.java:27)
at org.whu.Scan.run(Scan.java:17)
at java.lang.Thread.run(Thread.java:662)

2条回答 默认 最新

相关推荐 更多相似问题