Xuekun Hu wrote:

[..cut..]
> 
> So to limit the number of connections to TOMCAT, I set the "max"
> parameter behind ProxyPass
>               ProxyPass /jspdir ajp://localhost:8009/jspdir max=10
> 
> I run test again, and errors occured again. I used "netstat -an" to
> see how many connections to localhost:8009. And I found the number of
> connections are greater than 10!!!
> 
> So is the "max" parameter useless for proxy_ajp connection? Any
> suggestions of configuration?

Apart from the fact that I think that these questions belong to the users list:

max ensures that not more then max connections get created *per* Apache child 
process.

So the questions are

1. What MPM do you use?
2. What is your setting for ServerLimit?

Provided that you use the worker MPM the maximum number of total connections
httpd creates is max * ServerLimit.

Regards

RĂ¼diger

Reply via email to