2008/2/15, Lazy <[EMAIL PROTECTED]>:
> I'm observing that apache2.0.61-peruser3.0.0 is killing connections
>  lasting more then expire timeout ie. downloads of large files. Is this
>  normal behaviour ?
>  Can I fix it beside setting 0 or very large expire timeout ?

problem solved
in server/scoreboard.c
AP_DECLARE(int) ap_update_child_status_from_indexes(int child_num,
                                                    int thread_num,
                                                    int status,
                                                    request_rec *r)
{
...
    if (ap_extended_status) {
        ws->last_used = apr_time_now();

so if ExtendedStatus is not enabled last_used is not updated and
working processes are being killed by expireTimeout,
maybe include a patch to enable always last_used updating in peruser?
not everybody will want and need extendedstatus

-- 
Michal Grzedzicki
--- server/scoreboard.c	2008-02-15 14:01:27.137070821 +0100
+++ server/scoreboard.c	2008-02-15 14:01:49.395251029 +0100
@@ -380,8 +380,9 @@
         ps->generation = ap_my_generation;
     }
 
+    ws->last_used = apr_time_now();
+
     if (ap_extended_status) {
-        ws->last_used = apr_time_now();
         if (status == SERVER_READY || status == SERVER_DEAD) {
             /*
              * Reset individual counters
_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to