English 中文(简体)
B. 提出“没有缓冲空间”的平行请求
原标题:Parallel requests throwing "No buffer space available"

我的申请每5分钟就向网络服务提出2000年的请求。 开始修建25座床,每座楼有80个床位。 然而,有时还有以下例外:

java.net.SExocketception: 无缓冲空间

怎样才能做到这一点? 该网络可能出现暂时性下降?

感谢。

问题回答

I ve just had a similar situation where my windows 7 client running JMeter would start producing this error. I was running out of client connection sockets, where the default is 16384. I ran

netsh int ipv4 set dynamicport tcp start=10000 num=40000

which increases the number to 40000, and fixed my problem. [ The default here is netsh int ipv4 set dynamicport tcp start=49152 num=16384 ]





相关问题
MSNP-Sharp Example fails to login, gives SocketException

I ve just downloaded the MSNP-Sharp library with the aim of creating my own messaging client, however I am struggling to get the example to sign in. The code all compiles and runs, but when I provide ...

Why does localhost in web references cause SocketExceptions?

I have two .net web services deployed to the same IIS server using SSL, one that references the other. If I set that web reference to localhost , some calls fail with this exception: System.Web....

Socket problem when using threading

Can someone please explain me why the following code doesn t work? using System; using System.Collections.Generic; using System.Text; using System.Net.Sockets; using System.Net; using System....

MySQL 5.1.32-community and JDK 1.6.0_16

I have this real weird exception when issuing a basic SELECT, using MySQL 5.1.32-community from JDK 1.6.0_16 code. The conditions to repeat : at any place in my app, if i change the date of my OS (...

热门标签