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: HARD_SERVER_MAX
Date Wed, 02 Aug 1995 13:46:51 GMT


    for (i = 0; i < HARD_SERVER_MAX; ++i)
        waitpid (scoreboard_image[i].pid, &status, 0);


scoreboard_image[i].pid can be equal to the parent pid.
Is it safe to do a waitpid on yourself ?

Other clues that might help..
I have MaxClients 4 on my own workstation, and the first 5
scoreboard pids get set to the parent pid, the rest are 0.

Incidentally, the scoreboard file can take 150 pids, but I only 
need 4, so there's some wastage there.


rob

Mime
View raw message