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.
Christophe DENEUX made changes - Mon, 21 Dec 2015 - 14:48:00 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Christophe DENEUX made changes - Mon, 21 Dec 2015 - 14:48:10 +0100
Link This issue depends on PETALSBCSOAP-179 [ PETALSBCSOAP-179 ]
Christophe DENEUX made changes - Mon, 21 Dec 2015 - 14:48:57 +0100
Component/s Configuration [ 10381 ]
Christophe DENEUX made changes - Mon, 21 Dec 2015 - 16:54:00 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
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
Christophe DENEUX made changes - Mon, 21 Dec 2015 - 16:54:21 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 4.4.1 [ 10587 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
9m 36s
1
Christophe DENEUX
Mon, 21 Dec 2015 - 14:48:00 +0100
Open Open In Progress In Progress
2h 6m
1
Christophe DENEUX
Mon, 21 Dec 2015 - 16:54:00 +0100
In Progress In Progress Resolved Resolved
21s
1
Christophe DENEUX
Mon, 21 Dec 2015 - 16:54:21 +0100

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