问题:
resin启动出现错误,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 !
Thanks again to Buddy Casino's answer.
Boo to the person who down-voted the Question.
解决方案:
此问题是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的环境同样发现此问题
http://stackoverflow.com/questions/10088363/java-net-socketexception-no-buffer-space-available-maximum-connections-reached
相关推荐
No buffer space available (maximum connections reached?): connect 问题的两种解决方案
windows系统socket泄露问题解决--No buffer space available (maximum connections reached?): JVM_Bind
1.解决服务器报错:java.net.SocketException: No buffer space available (maximum connections reached?): JVM_Bind 2.解决Windows Server 2003/2008 R2系统BUG导致windows缓冲区已满(no buffer space),Windows...
No buffer space available (maximum connections reached?): JVM_Bind 解决方案: 此问题是windows的bug,唯一解决问题的方法就是reboot,然后给系统打补丁,The problem was fixed with Microsoft's patch: ...
在windows下安装Mysql系统日志出现max_open_files: 2048 max_connections: 510 table_cache: 764 类似错误是因为 max_connections 最大连接数和max_open_files、table_cache 不匹配。适当的降低max_connections 或...
mysql官方告诉我们需要修改max_connections的值,那么我们怎么去修改呢?有两种方法 1、修改配置文件文件 修改/etc/my.cnf这个文件,在[mysqld]中新增max_connections=N,如果你没有这个文件请从编译源码中的support...
# start address or station"Düsseldorf, Heerdter Sandberg 40 ",# target address or station:include_coords => true, # include coordinates of stations:limit => 1,# how many connections?:start_type => :...
背景:把mysql换成mysqli时出现,连接数过多,其实际上并不是,原因是我挪动了一下php的sock文件位置导致,因这几个socket修改没有修改完全,于是出现了too many connections ,从mysql里show processlist并没有发现...
Steel_Beam-Column_Connections_Using_Shape_Memory_A (1).pdf
39 案例实战:如何解决经典的Too many connections故障?背后原理是什么.pdf
星际之门 适用于WaterDog的插件,mcbe的出色代理(最新版本) 下载! :direct_hit: 特征: :check_mark: WaterDog客户端/服务器之间的通信 :check_mark: 工作人员聊天(已) :check_mark: ... maxConnections
:cloud_selector:Azure中继服务问题跟踪和示例-源码
在mysql的手册中已经对max_user_connections有一点说明,它是用来限制用户资源的,怎么限制用户资源呢?这里做了个小测试。首先产看该全局变量的值mysql> select @@max_user_connections;+————————+| @@max_...
行业-39 案例实战:如何解决经典的Too many connections故障?背后原理是什么.rar
3.5 The macroscopic openness: Connections to thermodynamics 50 3.6 Ontic openness and emergence 53 3.7 Ontic openness and hierarchies 55 3.8 Consequences of ontic openness: a tentative conclusion 56 4...
connections: { default: { connector: 'bookshelf', settings: { client: 'postgres', host: env('DATABASE_HOST', '192.168.1.6'), port: env.int('DATABASE_PORT', 5432), database: env('DATABASE_NAME'...
Gives the code of set up time of connections
也就是:innodb_buffer_pool_size + innodb_log_buffer_size + thread_cache_size +table_open_cache + table_definition_cache +key_buffer_size + max_connections *( thread_stack+ sort_buffer_size+join_...