View | Details | Raw Unified | Return to bug 60261
Collapse All | Expand All

(-)server/mpm_unix.c (-1 / +4 lines)
Lines 788-794 int ap_signal_server(int *exit_status, apr_pool_t Link Here
788
        status = "httpd (no pid file) not running";
788
        status = "httpd (no pid file) not running";
789
    }
789
    }
790
    else {
790
    else {
791
        if (kill(otherpid, 0) == 0) {
791
        /* With containerization, httpd may get the same PID at each startup,
792
         * handle it as if it were not running (it obviously can't).
793
         */
794
        if (otherpid != getpid() && kill(otherpid, 0) == 0) {
792
            running = 1;
795
            running = 1;
793
            status = apr_psprintf(pconf,
796
            status = apr_psprintf(pconf,
794
                                  "httpd (pid %" APR_PID_T_FMT ") already "
797
                                  "httpd (pid %" APR_PID_T_FMT ") already "

Return to bug 60261