Hello,

We have been getting the error stack on our production servers quite
frequently over the past few days:

java.io.IOException: Unexpected error [730,054] writing data to the
APR/native socket [950,585,024] with wrapper
[org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@c5f5747:950585024].
org.apache.catalina.connector.ClientAbortException:
java.io.IOException: Unexpected error [730,054] writing data to the
APR/native socket [950,585,024] with wrapper
[org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@c5f5747:950585024].
        at 
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:356)
        at 
org.apache.catalina.connector.OutputBuffer.appendByteArray(OutputBuffer.java:785)
        at 
org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:714)
        at 
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:391)
        at 
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:369)
        at 
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
        at asposewobfuscated.?78.?Z(Unknown Source)
        at com.aspose.words.Document.save(Unknown Source)


I did some Googling and it turns out to be a intermittent connection
termination/swap issue where user is using mobile device or swapping from
Ethernet to Wi-Fi. But from the above stack track it seems as though the
socket cannot handle the size of the data being transferred.

We did a controlled restart of individual servers to remove any possibility
for IO contention, but that didn't result into anything better.

Has anyone seen this behaviour or remediated it ? Also, will this issue
occur with Tomcat 8.5.28 and APR 1.2.16 ?

Regards,

Reply via email to