httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: svn commit: r543511 - /httpd/httpd/branches/1.3.x/src/main/http_main.c
Date Fri, 01 Jun 2007 23:26:34 GMT
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.


View raw message