sufficient buffer space or because a queue was full

简介: sufficient buffer space or because a queue was full

用前置机windows连接linux发现报错:An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full,刚开始还以为一直是linux服务器的问题,后来发现是前置机连接数量TCP占用多了导致。
解决方法:1、重启电脑无用的端口占用连接数会自己删除
2.1、增加最大使用端口数
注册表下:HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
新增加一项:MaxUserPort对应数据50000
2.2、修改间隔的恢复时间:
注册表下:HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
TcpTimedWaitDelay对应数据10

相关文章
|
3月前
What value should kernel parameter AIO-MAX-NR be set to ?
What value should kernel parameter AIO-MAX-NR be set to ?
35 0
Data Structures (二) - 链表LinkedList实现(Part B)
Data Structures (二) - 链表LinkedList实现(Part B)
Data Structures (二) - 链表LinkedList实现(Part B)
IBASE handle free after save - buffer table cleared
IBASE handle free after save - buffer table cleared
122 0
IBASE handle free after save - buffer table cleared
|
关系型数据库 数据库管理 Oracle
|
关系型数据库 Oracle iOS开发
|
Java
OutOfMemoryError系列(6): Out of swap space?
这是本系列的第六篇文章, 相关文章列表: OutOfMemoryError系列(1): Java heap space OutOfMemoryError系列(2): GC overhead limit exceeded OutOfMemoryError系列(3): Permgen space OutOfMemoryError系列(4): Metaspace OutOfMemoryError系列(5): Unable to create new native thread JVM启动参数指定了最大内存限制。
1234 0