Petals BC SOAP

HTTP(S) connection reset under stress tests

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.4.0
  • Fix Version/s: 4.4.1
  • Component/s: Configuration
  • Security Level: Public
  • Description:

    When running the performance tests about the Petals BC SOAP, we get sometimes the error 'java.net.SocketException: Connection reset' at WS client side.

  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Mon, 21 Dec 2015 - 14:48:00 +0100 - edited

When receiving an HTTP(S) connection from a WS client, the request is put into a queue at TCP level of the HTTP(S) server. Next, the incoming requests of the queue are accepted before to be processed. If a HTTP(S) connection arrives when the queue is full, the HTTP(S) connection is refused.

To avoid connection rejection, the queue should be sized according to the expected load. Such a parameter exists at SocketServer level and it is already used by the Petals BC SOAP but it is set with the HTTP acceptor number that is the number of threads that accept HTTP connections.

So the new parameters of PETALSBCSOAP-179 are required before to fix the value to used as queue size.

Show
Christophe DENEUX added a comment - Mon, 21 Dec 2015 - 14:48:00 +0100 - edited When receiving an HTTP(S) connection from a WS client, the request is put into a queue at TCP level of the HTTP(S) server. Next, the incoming requests of the queue are accepted before to be processed. If a HTTP(S) connection arrives when the queue is full, the HTTP(S) connection is refused. To avoid connection rejection, the queue should be sized according to the expected load. Such a parameter exists at SocketServer level and it is already used by the Petals BC SOAP but it is set with the HTTP acceptor number that is the number of threads that accept HTTP connections. So the new parameters of PETALSBCSOAP-179 are required before to fix the value to used as queue size.
Hide
Christophe DENEUX added a comment - Mon, 21 Dec 2015 - 16:54:21 +0100

Fix in trunk

Show
Christophe DENEUX added a comment - Mon, 21 Dec 2015 - 16:54:21 +0100 Fix in trunk

People

Dates

  • Created:
    Mon, 21 Dec 2015 - 14:38:24 +0100
    Updated:
    Mon, 21 Dec 2015 - 16:54:21 +0100
    Resolved:
    Mon, 21 Dec 2015 - 16:54:21 +0100