httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Wilson <and...@www.elsevier.co.uk>
Subject Re: HARD_SERVER_MAX
Date Wed, 02 Aug 1995 17:52:20 GMT
> Maybe this is a clue..
> 
> I can see the use of HARD_SERVER_MAX in the code, but I'm configuring
> this much lower.
> 
> 
> void reclaim_child_processes ()
> {
>     int i, status;
> 
>     sync_scoreboard_image();
>     for (i = 0; i < HARD_SERVER_MAX; ++i)
>         waitpid (scoreboard_image[i].pid, &status, 0);
> }
> 
> 
> 
> Does this loop go too far if my MAX is < HARD_SERVER_MAX.
> 
> Could it be my Apache parent was waiting on some unreleated pid ?

Uuuh,  am I being lame here?  Should the code be checking to see
if the s_i[i] slot is being used?


> rob
> --
> http://nqcd.lanl.gov/~hartill/
> 


Mime
View raw message