Please enable JavaScript.
Coggle requires JavaScript to display documents.
to/from HTTP Client, HTTP_CORE
(main functionality), HTTP_CORE
(main…
-
-
-
Scoreboard
example
include/scoreboard.hglobal_score global
server_limit
thread limit
running generation
process_score parent
worker_score servers
desc
There is a slot in the scoreboard for each child server and its workers (be it threads or processes), containing information such as status, access count, bytes served and cpu time, and much more.
This same information is used by mod_status to provide current server statistics in a human readable form.
apache2ctl
commandLine
modes
Sys V init
apache2ctl takes simple, one-word commands in the form
apache2ctl command
pass-through
apache2ctl can take all the Apache arguments in the following syntax:
apache2ctl [apache-argument]
-
-
Each request that the server receives is actually handled by a copy of the http program. So rather than creating a new instance copy when it is needed, and destroying it when a request is finished, Apache maintains at least 5 and at most 10 inactive children at any given time.
the Parent Process runs a periodic check on a structure called the scoreboard, which keeps track of all existing server processes and their status.
When it receives a request, the parent process passes it along to the next idle child on the scoreboard. Then the parent goes back to listening for the next request.
-