Plana, Richard schrieb:
I've upgraded to httpd-2.2.9 and added ping=120 to my BalancerMember
line and the connection still times out and becomes hung. The only thing
I'm getting on the logs is the following:

        [Thu Jul 03 14:02:12 2008] [error] (70007)The timeout specified
has expired: ajp_ilink_receive() can't receive header

In fact, this is my ProxyPass (BalancerMember) line:

        BalancerMember ajp://application:8009/myapp max=10 smax=6 ttl=30
ping=120 route=jvm1

Is there a way to verify that it is indeed sending traffic across the
lines?

Don't you also get one of the following two log lines:

- "ajp_read_header: ajp_ilink_receive failed"
- "ajp_handle_cping_cpong: ajp_ilink_receive failed"

The first one would indicate, that httpd gave up waiting for the response, so the processing time on the backend is to big. The second one indicates, that the cping/cpong didn't work and the backend couldn't even send the cpong.

You can also add %D to your LogFormat, which would include the microsecond response time to your access log (so you can see, how big the timeout was, that fired). It's microseconds, because milliseconds are not implemented and seconds is to rough.

If you increase your LogLevel to debug, then you'll get additional messages, like begin and end of the cping/cpong cycle.

Regards,

Rainer

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to