Symantec Access Management

  • 1.  SPS Socket Exceptions

    Posted Aug 23, 2018 03:31 PM

    We are running a load test for an application on IIS  that is behind SPS. Upon running the load we are seeing these errors in plenty in proxy agent logs

     

    [8044/13232][Mon Aug 20 2018 18:22:23][Noodle.java][ERROR][sm-ProxyAgent-00100] Exception caught. Message is: Exception writing to response output stream : org.apache.catalina.connector.ClientAbortException java.net.SocketException: Software caused connection abort: socket write error

    Could anyone please point out what's the reason for such errors. 



  • 2.  Re: SPS Socket Exceptions
    Best Answer

    Broadcom Employee
    Posted Aug 23, 2018 11:15 PM

    Generally in : 

        client - > sps -> backend 

     

    It will be the SPS was waiting for a response from the backend server, if while waiting the client closes the client -> sps connection (say timeout on client side).    

     

    Then when the backend does eventually response then the SPS tries to write the response back to the client but finds the client connection is already closed. 

     

    In more detail the setup is : 

        client -> [ apache -> proxy-engine/tomcat ] -> backend 

     

    When the client closes the connection to apache then apache closes the connection to proxy-engine/tomcat. 

     

    It is the proxy-engine/tomcat thread that is waiting for the backend response.  When the proxy-engine/tomcat gets the response from the backend it tries to write it back to the socket from apache and that fails and then it writes the error message.

     

    Hope that helps.

     

    Cheers - Mark



  • 3.  Re: SPS Socket Exceptions

    Posted Aug 30, 2018 10:15 AM

    Hi Mark,

     

    Is there any way to fix this type of issue ?

    [1352/7028][Sun Jul 22 2018 08:38:53][Noodle.java][ERROR][sm-ProxyAgent-00100] Exception caught. Message is: Exception writing to response output stream : org.apache.catalina.connector.ClientAbortException java.net.SocketException: Software caused connection abort: socket write error

     

    for this do we have to consider parameter "Threadsperchild" of httpd.conf or is there any other tuning parameter?

    Regards,

    Rikash