No one has any idea? Or at least an hint/idea how I can analyse this?
By default servlet?
Can you post your mod_proxy configuration? Also, have you made any changes to the default undertow subsystem configuration?
The mod_proxy configuration looks like this:
ProxyRequests Off <Proxy *> AddDefaultCharset off Order deny,allow </Proxy> ProxyVia On
And in our default site we have these lines:
ProxyPass / http://127.0.0.1:9000/ ProxyPassReverse / http://127.0.0.1:9000/
In the undertow-subsystem we changed the http-listener and added the proxy-address-forwarding and the max-parameters.
<http-listener name="default" socket-binding="http" proxy-address-forwarding="true" max-parameters="10000" />
For testing we also tried nginx as proxy. Same problem.
Seems that when we turn off the keepAlive in the apache2.conf the pages are loaded with normal speed.
does it help if you add tcp-keep-alive="true" to your http-listener and have keepAlive enabled also in apache
No, it doesn't help.
Hi Andreas, did you resolved the problem?
We have similar/same issue on apache-proxy <-> wildfly-8.2.0
We resolved it with disabling Keep alive between apache and wildfly.
Allow from all
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
But I think, it doesn't solve the original problem.
Did you find another solution?
Hi, in the meantime we switchted to WildFly9 and use Nginx as proxy because we had other problems with Apache as proxy too. Theses solved it for us and we were not looking for other solutions anymore.