httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@ooo.lanl.gov>
Subject Re: Apache = CPU hog? (fwd)
Date Mon, 29 Apr 1996 11:31:36 GMT
 
> I'm fairly sure I've seen SCO 5 fail to clear up the children, too.
> 
> Cheers,
> 
> Ben.

None of the children were being removed, so there must be something
wrong with

void sig_term() {
    log_error("httpd: caught SIGTERM, shutting down", server_conf);
    cleanup_scoreboard();
#ifndef NO_KILLPG
    killpg(pgrp,SIGKILL);
#else
    kill(-pgrp,SIGKILL);
#endif
    shutdown(sd,2);
    close(sd);
    exit(1);
}

(http_main.c) on his system ?




Mime
View raw message