mod_rewrite / mod_proxy access_log

New to mod_rewrite? This is a good place to start.

mod_rewrite / mod_proxy access_log

Postby Guest » Wed Mar 10, 2004 7:19 am

Hello,

we use mod_rewrite with option [P] to rewrite request URLs and proxy them to internal application servers. We use the following configuration for mod_proxy to fetch the whole content from the application server as fast as possible:

ProxyIOBufferSize 131072

The question is: when does apache (1.3.26 in our case) log the request to the access_log. Example:

client -> apache -> jboss/jetty

The jetty request log said the request took 50ms.
Apache logged the request with 52ms.
The client fetched the content in 270ms.

It seems to me that apache logged the request while still delivering the content (from the proxy-io-buffer) to the client. Is this the expected behaviour?

We spotted this discrepancy during high load phases (couple of hundreds request/sec).

Any hints?

Regards,
Dirk
Guest
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 29 guests

cron