Skip to content

acceptorQueueSize [sic] - Documentation and http.ini examples have incorrect parameter name #4939

Closed
@huntharo

Description

Jetty version

9.4.29.v20200521 (and probably many others)

Java version

Any

OS type/version

Any

Description

Documentation / ini file references for acceptQueueSize configuration are incorrectly listed as accept[or]QueueSize - Setting acceptorQueueSize has no effect while setting acceptQueueSize works as intended.

Source References

https://github.com/eclipse/jetty.project/search?q=acceptorQueueSize&unscoped_q=acceptorQueueSize

image

Documentation Reference

https://www.eclipse.org/jetty/documentation/current/configuring-connectors.html

image

Jetty Download - Demo-Base - Example http.ini Reference

image

Testing Instructions
  • Mac
    • Base-case: java -jar ../start.jar -Djetty.port=8000 -Djetty.http.acceptorQueueSize=100
      • Get Listen Queue Depth: netstat -Lan | grep 8000
      • Expected: 0/0/100
      • Actual: 0/0/50
    • Fixed-case: java -jar ../start.jar -Djetty.port=8000 -Djetty.http.acceptQueueSize=100
      • Get Listen Queue Depth: netstat -Lan | grep 8000
      • Expected == Actual: 0/0/100
  • Linux
    • Base-case: java -jar ../start.jar -Djetty.port=8000 -Djetty.http.acceptorQueueSize=100
      • Get Listen Queue Depth: ss -l | egrep 'Netid|:8000'
      • Expected: Recv-Q: 0, Send-Q: 100 (Recv-Q == current depth, Send-Q == configured depth)
      • Actual: Recv-Q: 0, Send-Q: 50 (Recv-Q == current depth, Send-Q == configured depth)
    • Fixed-case: java -jar ../start.jar -Djetty.port=8000 -Djetty.http.acceptQueueSize=100
      • Get Listen Queue Depth: ss -l | egrep 'Netid|:8000'
      • Expected == Actual: Recv-Q: 0, Send-Q: 100 (Recv-Q == current depth, Send-Q == configured depth)

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions