Mantis - Resin
Viewing Issue Advanced Details
2239 minor always 12-12-07 09:27 12-17-07 15:35
sam  
ferg  
urgent  
closed 3.1.4  
fixed  
none    
none 3.1.5  
0002239: java.io.InterruptedIOException: timeout fd=26 errno=11 on backend servers
(rep by B Cleave)

errno 11 is EAGAIN

Linux crusader 2.6.15-1.2054_FC5smp 0000001 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux

java.io.InterruptedIOException: timeout fd=26 errno=11
 at com.caucho.vfs.JniStream.writeNative(Native Method)
 at com.caucho.vfs.JniStream.write(JniStream.java:160)
 at com.caucho.vfs.WriteStream.write(WriteStream.java:307)
 at com.caucho.server.hmux.HmuxRequest$ServletFilter.write(HmuxRequest.java:1507)
 at com.caucho.vfs.WriteStream.write(WriteStream.java:307)
 at com.caucho.server.connection.ResponseStream.writeNext(ResponseStream.java:444)
 at com.caucho.server.connection.ToByteResponseStream.flushByteBuffer(ToByteResponseStream.java:520)

It looks like the low level send() unix call is returning an unexpected
value (EAGAIN). It should only return that if the O_NONBLOCK is set on
the socket connection and Resin is not setting that so is not expecting
that to ever be the return value.


There are no notes attached to this issue.