Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003812 [Resin] minor always 12-14-09 08:37 12-16-09 10:05
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.2
Summary 0003812: hmux timeout exception
Description (rep by Wesley Wu)

when running resin in load-balance cluster with a web-tier(one server)
and a app-tier(two server)

my app-tier console display the error

[09-12-15 00:14:34.369] {server-192.168.1.5:6801-34}
com.caucho.java.JavaCompiler compileInt Compiling
_jsp/_person/_Index__jsp.java
[09-12-15 00:14:34.723] {server-192.168.1.5:6801-34}
com.caucho.java.JavaCompiler compileInt Compiling
_jsp/_person/_Header__jsp.java
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31}
com.caucho.server.cluster.HmuxQueue dispatch java.net.SocketException:
Write failed: Broken pipe
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
jrockit.net.SocketNativeIO.writeBytesPinned(Native Method)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
jrockit.net.SocketNativeIO.socketWrite(SocketNativeIO.java:73)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
java.net.SocketOutputStream.socketWrite0(SocketOutputStream.java)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
java.net.SocketOutputStream.write(SocketOutputStream.java:137)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
com.caucho.vfs.TcpStream.write(TcpStream.java:150)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
com.caucho.vfs.WriteStream.flush(WriteStream.java:367)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
com.caucho.server.cluster.ClusterStream.writeYield(ClusterStream.java:626)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
com.caucho.server.cluster.HmuxQueue.dispatch(HmuxQueue.java:132)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
com.caucho.hemp.broker.HempMemoryQueue.consumeQueue(HempMemoryQueue.java:415)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
com.caucho.hemp.broker.HempMemoryQueue.run(HempMemoryQueue.java:473)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31} at
com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)
[09-12-15 00:14:53.096] {hmtp-aaa-to-aaa-31}

I'm using resin 4.0.2.s20091202 snapshot on CentOS 5.2 x86 linux
compiled with JNI, with a evaluation PRO lisence.

JDK: jrockit 1.6.0_14 x86

I thinks maybe caused by <jsp:include> directive.
Additional Information
Attached Files

- Relationships

- Notes
(0004336)
ferg
12-16-09 10:05

Fixed in 4.0.3. The connection pool wasn't properly tracking idle sockets and could use an expired socket.
 

- Issue History
Date Modified Username Field Change
12-14-09 08:37 ferg New Issue
12-16-09 10:05 ferg Note Added: 0004336
12-16-09 10:05 ferg Assigned To  => ferg
12-16-09 10:05 ferg Status new => closed
12-16-09 10:05 ferg Resolution open => fixed
12-16-09 10:05 ferg Fixed in Version  => 4.0.3


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker