views:

14

answers:

1

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?

A: 
service apache2 restart
mcandre
That's not it. I did restart the server, and know that the configuration is taken into account (e.g. it wouldn't work if I change the port something invalid). It's just that the max parameter is not taken into account.
Alessandro Vernet