启动出现错误,java.net.SocketException: No buffer space available - 安装部署 - Alfresco技术论坛

Alfresco技术论坛



查看: 646|回复: 0

启动出现错误,java.net.SocketException: No buffer space available

  [复制链接]


40

主题

41

帖子

427

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
427
QQ
发表于 2019-3-24 10:07:16 | 显示全部楼层 |阅读模式
解决方案来源于网络,本人还没有实际验证过,各位如果有遇到一样的问题可以试试看。

启动出现错误,java.net.SocketException: No buffer space available (maximum connections reached?): JVM_Bind

解决方案:
此问题是windows的bug,唯一解决问题的方法就是reboot,然后给系统打补丁,The problem was fixed with Microsoft's patch: "Kernel sockets leak on a multiprocessor computer that is running Windows Server 2008 R2 or Windows 7" (http://support.microsoft.com/kb/2577795) (ie. Buddy Casino's answer (see below)).

备注:在windows2003,resin4的环境同样发现此问题

Tomcat is running a webapp under Windows. After a few days (under very low load), the exception mentioned in the title starts to appear in the logs, no new connections can be established from that point on, the only fix is then to reboot the server.

回复1:
The reason we got this error is a bug in Windows Server 2008 R2 / Windows 7. The kernel leaks loopback sockets due to a race condition on machines with more than one core, this patch fixes the issue: http://support.microsoft.com/kb/2577795

回复2:

I was running Alfresco Community 4.0d on Windows 7 64 bit and had the same symptoms and errors.
The problem was fixed with Microsoft's patch: "Kernel sockets leak on a multiprocessor computer that is running Windows Server 2008 R2 or Windows 7" (http://support.microsoft.com/kb/2577795) (ie. Buddy Casino's answer (see below)).
Another observation I'd like to add is that Windows connections (Internet Explorer, Remote Desktop etc) would work again about 5-10 mins after the Alfresco services were shutdown.
Alfresco is an excellent product and I was afraid I would have to scrap it. Fortunately stackoverflow came to the rescue !

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



QQ|小黑屋| Alfresco技术论坛 ( 闽ICP备15015720号 )

GMT+8, 2020-2-27 13:54 , Processed in 0.104053 second(s), 19 queries .

快速回复 返回顶部 返回列表