[peruser] Expire_timeout killing long lasting connections

Lazy lazy404 at gmail.com
Fri Feb 15 06:05:59 MST 2008


2008/2/15, Lazy <lazy404 at gmail.com>:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peruser-alwaysupdate-lastused.patch
Type: text/x-diff
Size: 425 bytes
Desc: not available
Url : http://www.telana.com/pipermail/peruser/attachments/20080215/70be8167/attachment.bin 


More information about the Peruser mailing list