httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55239] New: Apache Graceful restart issue
Date Thu, 11 Jul 2013 10:56:39 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55239

            Bug ID: 55239
           Summary: Apache Graceful restart issue
           Product: Apache httpd-2
           Version: 2.2.22
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mpm_worker
          Assignee: bugs@httpd.apache.org
          Reporter: akshay.ballarpure@nsn.com

Hi,
We are facing an issue during Apache graceful restart meaning some of the child
httpd process are not getting restarted sometime on graceful restart.

After putting below below fix in prefork.c, we are not seeing issue.


static void clean_child_exit(int code)
{
    //below code added to fix graceful restart
    //fix start
    apr_signal(SIGHUP, SIG_IGN);
    apr_signal(SIGTERM, SIG_IGN);
    apr_signal(SIGUSR1, SIG_IGN);
    apr_signal(AP_SIG_GRACEFUL, SIG_IGN);
    // fix end

    mpm_state = AP_MPMQ_STOPPING;

    if (pchild) {
        apr_pool_destroy(pchild);
    }
    ap_mpm_pod_close(pod);
    chdir_for_gprof();
    exit(code);
}


However we would like to know if there is any impact with this changes.

your urgent reply is appreciated.

Thanks,
Akshay

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message