Jim Jagielski wrote: > Ruediger Pluem wrote: >> For my understanding (and a bit of devils advocate here :-)): Why do we use a >> table here and not a fixed size array (HARD_SERVER_LIMIT) of ints (apr_array >> of >> pid_t in the 2.x case). If we keep the pids at the same index as in the >> scoreboard the checks would be somewhat faster and simpler to do. Of course >> we waste more memory. >> > > We can afford the time taken I think, to save space and to > be more efficient... I really dislike all that wasted space :)
One issue that can be solved here are the long-lost children come home, since we can keep more PID's than fit in the scoreboard. It's worth looking at. Bill