摘要:今天在将服务器合并后,发现php偶尔会报出 Server *.*.*.* (tcp *****) failed with: Cannot assign requested address (99) 的错误,开始怀疑是由于memcached服务器无法处理过多的请求,查看memcached服务器并未发现异常。在网上查到了问题的分析和解决方法。问题分析:客户端频繁的连服务器,由于每次连接都在很短的时间内结束,导致很多的TIME_WAIT,以至于用光了可用的端 口号,所以新的连接没办法绑定端口,即“Cannot assign requested address”。是客户端的问题不是服务器端的问题。通.
阅读全文
08 2013 档案
摘要:Iwasabletologinthistime.namedisworkingproperly.However,Idoseethatyouhavenotincreasedtheconnectionsallowedtotheserver.root@web[~]#sysctl-a|grepconnt|egrep'full|max' net.netfilter.nf_conntrack_tcp_timeout_max_retrans=300 net.netfilter.nf_conntrack_tcp_max_retrans=3 net.netfilter.nf_conntrack_m
阅读全文