/[Apache-SVN]
ViewVC logotype

Revision 1855378


Jump to revision: Previous Next
Author: ylavic
Date: Wed Mar 13 08:59:54 2019 UTC (5 years ago)
Changed paths: 6
Log Message:
Merge r1855306 from trunk:

MPMs unix: bind the bucket number of each child to its slot number

We need not remember each child's bucket number in SHM for restarts, for the
lifetime of the httpd main process the bucket number can be bound to the slot
number such that: bucket = slot % num_buckets.

This both simplifies the logic and helps children maintenance per bucket in
threaded MPMs, where previously perform_idle_server_maintenance() could create
or kill children processes for the buckets it was not in charge of.

Submitted by: ylavic
Reviewed by: ylavic, rpluem, jorton


Changed paths

Path Details
Directoryhttpd/httpd/branches/2.4.x/ modified , props changed
Directoryhttpd/httpd/branches/2.4.x/CHANGES modified , text changed
Directoryhttpd/httpd/branches/2.4.x/include/scoreboard.h modified , text changed
Directoryhttpd/httpd/branches/2.4.x/server/mpm/event/event.c modified , text changed
Directoryhttpd/httpd/branches/2.4.x/server/mpm/prefork/prefork.c modified , text changed
Directoryhttpd/httpd/branches/2.4.x/server/mpm/worker/worker.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26