linux下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.
上次有人问在连接数据库的时候也出现过connection
reset错误,这有可能是连接没有正常释放(不一定是程序的问题),最好在连接迟中设置无效连接超时的最大值。
分享到:
相关推荐
下面小编就为大家带来一篇完美解决Linux搭建sftp出现Write failed:Broken pipe的问题。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧
BLOG_【故障处理】Oracle_lhr_TNS-12518、TNS-00517和 Linux Error:32:Broken pipe.pdfBLOG_【故障处理】Oracle_lhr_TNS-12518、TNS-00517和 Linux Error:32:Broken pipe.pdf
本文实例讲述了Python提示[Errno 32]Broken pipe导致线程crash错误解决方法。分享给大家供大家参考。具体方法如下: 1. 错误现象 ThreadingHTTPServer 实现的 http 服务,如果客户端在服务器返回前,主动断开连接,...
FFMPEG和FFSERVER搭建流媒体服务器实例(windows下测试通过),可以根据自己的需求修改里面的ffserver.conf文件。详情可以参考http://blog.csdn.net/hk627989388/article/details/53838533
Unity动态字体文字破碎的解决方法(Dynamic Font Broken)
put(src,remotePath,options)==>字符串fastPut(localPath,remotePath,options)==>字符串append(input,remotePath,options)==>字符串mkdir(路径,递归)==>字符串rmdir(路径,递归)==>字符串delete...
非常好的关于MVC4的介绍,微软把它与之前的技术进行了横向的比较。
The State of Peer_to_Peer Simulators and Simulations
Eclipse IDE for Eclipse Committers(eclipse-committers-2022-06-R-linux-gtk-aarch64.tar.gz) 适用于Linux aarch64: Package suited for development of Eclipse itself at Eclipse.org; based on the Eclipse ...
UnixBench会执行一系列的测试,包括2D和3D图形系统的性能衡量,测试的结果不仅仅只是CPU,内存,或者磁盘为基准,还取决于硬件,操作系统版本,编译器.
串口1-232与TCP服务器双向通信uart1-232andTCP server two-way communication
这时如果使用jdbc继续使用之前的连接,则会收到以下异常:mysql允许设置闲置时间,默认是8小时,最大是1年。大部分客户端都使用连接池以提高性能,如果用户访问
- 不会在服务器端触发“IO: Broken pipe”或“IO: Connection reset”垃圾邮件错误。 - 有服务器端错误的解决方法 (https://bugs.mojang.com/browse/MC-154617) ************************** **********************...
前端开源库-broken违背承诺就是要违背承诺。
OWASP_Broken_Web_Apps_VM_1.2
This ECN fixes issues that are broken in the current specification in the following two places: • If a Cable Plug receives a Soft_Reset Message and there is a Transmission Error, it continues into ...
阿尔萨音频管道带有ALSA的简单脑力音频吹笛者我该怎么办? 这只是我在运行Raspbian的Raspberry Pi上进行的设置,使我可以将音频从Griffin iMic USB音频接收器传输到USB Harmon Kardon Soundsticks扬声器系统。...