httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45950] Workers parameter is invalid after graceful restart
Date Thu, 05 Nov 2009 10:28:20 GMT

--- Comment #3 from Satoshi Ebisawa <> 2009-11-05 02:28:16 UTC ---
Created an attachment (id=24487)
 --> (
fix graceful restart problem

I think this problem was caused by improper use of worker index.

In http-2.2.14, worker id (member "id" of sturct proxy_worker)
is used for search key of scoreboard data (struct proxy_worker_stat).
But worker id is inappropriate value for search key of scoreboad data
because worker id might be changed after graceful restart
because configured number of workers can be changed. 
(struct proxy_worker is not stored in scoreboard so its id is not saved)

Shared parameter broken after graceful restart is caused by
use of wrong index for scoreboard data.

Attached patch introduces fixed key for scoreboard data
generated from server's hostname and worker name.
Since these are never changed after graceful restarts,
it's suitable for search key of scoreboard data.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message