服务器合租论坛 站长论坛

 找回密码
 免费注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 2422|回复: 1

[分享] 服务器出现BROKEN PIPE 解决方法 [复制链接]

Rank: 1

发表于 2008-8-11 14:54:19 |显示全部楼层
出现broken pipe ,connection reset解决方法 l

inux下webloigc经常出现broken pipe,socket....connection reset错误. 有有可能是linux的线程机制会产生JVM出错的问题,特别是在连接高峰期间经常出现这样的问题,tomcat在linux下也出现类似情况。 解决办法是在环境变量中设置: _JAVA_SR_SIGNUM = 12 基本就可以解决。 sun的解释: --posted by: cooper Below is a clipping from Sun on working around JVM crashes under high thread counts in the JVM 1.3 for Linux On Linux, use a larger signal number for hotspot thread suspension/resumption handler. The signal number being used is specified by environment variable _JAVA_SR_SIGNUM. Setting it to a number larger than SIGSEGV (11) will solve the problem. A good number to use is 12, which is SIGUSR2. Using signal 16 to work around the problem might have potential problems. So on tcsh, "setenv _JAVA_SR_SIGNUM 12" can solve the problem.
我司是DELL服务器的金牌代理,价格优惠,免费提供三年上门服务   手机13632336806

Rank: 1

发表于 2011-10-20 12:09:05 |显示全部楼层
谢谢提供方法
您需要登录后才可以回帖 登录 | 免费注册

Archiver|互泊网络-新网合租-服务器论坛-站长论坛 ( 沪ICP备08000560号 )

GMT+8, 2012-5-19 12:44 , Processed in 0.087579 second(s), 10 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部