Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undertow AJP tuning options #133

Open
bdw429s opened this issue May 10, 2018 · 5 comments
Open

Undertow AJP tuning options #133

bdw429s opened this issue May 10, 2018 · 5 comments

Comments

@bdw429s
Copy link
Member

bdw429s commented May 10, 2018

Tomcat's AJP connector has the following tuning settings:

connectionTimeout="60000" keepAliveTimeout="-1" packetSize="65536" 

Check undertow and see if they have equivalent settings and expose them via Runwar.

@bdw429s
Copy link
Member Author

bdw429s commented Aug 31, 2018

@denuno Any luck checking Undertow for equivalents to these settings?

@DavidValeo
Copy link

I too am interested in a solution for this, for performance I was trying to use connection pooling with boncode but kept getting failed requests because the connection was timing out on the runwar side. Is there a way to change the keepAliveTimeout?

@ecellini
Copy link

+1
I use boncode, please add support for maxThreads="1000" connectionTimeout="60000" packetSize="65536" keepAliveTimeout="-1"

Thank you!

@denuno
Copy link
Member

denuno commented May 21, 2019

Something like this:
--undertow-options "MAX_AJP_PACKET_SIZE=65536,NO_REQUEST_TIMEOUT=60000"

And then XNIO options depending on how much oomph you have:
--xnio-options "WORKER_TASK_CORE_THREADS=20,WORKER_IO_THREADS=6"

Would be the equivalent of those connector settings I think. Only develop exposes all the Undertow options though, so this won't work with the current stable release.

@denuno
Copy link
Member

denuno commented May 21, 2019

Available options and their meaning: http://undertow.io/undertow-docs/undertow-docs-2.0.0/#listeners-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants