mod_proxy: ProxyPass max parameter has no effect

I am using the following Apache config to forward requests to a Tomcat server:

ProxyPass /myapp ajp://localhost:8009/myapp max=2

This is a simplified config, but is enough to reproduce the issue, which is that the max parameter has no effect. If I through 10 concurrent requests to Apache, all 10 are forwarded to Tomcat at the same time, while I would like to have them forwarded 2 by 2. Should I use something other than the max parameter for this?

Alex

Leave a comment

0 Comments.

Leave a Reply