Attached is a patch that will make MaxRequestsPerChild act a little better with keepalive requests. I would have liked for a better way to turn off keepalive for the last request of the child, than just terminating it, but I couldn't find a way to turn off keepalive before the headers were sent and ap_process_request was called. -- Thomas Eibner