SPS Server reports error "java.net.SocketException: Broken pipe"

Document ID : KB000012421
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

I'm running a SPS Server. This one reports randomly error "java.net.SocketException: Broken pipe",
What might cause that error ?

Environment:
SPS 12.52SP1
Answer:

The error

   Exception caught. Message is: Exception writing to response output stream
   : org.apache.catalina.connector.ClientAbortException java.net.SocketException: Broken pipe

is cause because one of these situation :

  * The backend server is Responding to the request too long, the SPS gave up
  * The backend server responded with something the SPS did not understand
  * The end-user actually cancelled the request closing the browser.
  * A network error occurred between the SPS and backend server

You need to investigate the behavior of the backend server and also investigate
the network (including loadbalancer and firewall) when the issue happens.

You might also tune the SPS for the following server.conf parameters :

  http_connection_pool_min_size
  http_connection_pool_max_size
  http_connection_pool_incremental_factor

in case the SPS would lack of connection.