We have an Apache server and a Tomcat, connected via ajp protocol.
ProxyPass /foo ajp://foo.bar.baz:8009 ProxyPassReverse /foo ajp://foo.bar.baz:8009
Now, after restarting
Tomcat and Apache, it takes precisely 30 seconds till requests to
/foo are answered. This is the exact same time on every machine, which leads me to believe that there is some configurable timeout somewhere.
A colleague of mine conjectured that Apache's ajp proxy module might poll for Tomcat every 30 seconds, but I haven't found any further information on that.
So my basic question is: What is really going on and how can we make the restart faster?
connectiontimeout=5 timeout=5 to the
ProxyPass config did not have any effect.