
bugzilla at apache
Nov 5, 2009, 2:28 AM
Post #1 of 1
(61 views)
Permalink
|
|
[Bug 45950] Workers parameter is invalid after graceful restart
|
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=45950 --- Comment #3 from Satoshi Ebisawa <ebisawa[at]gmail.com> 2009-11-05 02:28:16 UTC --- Created an attachment (id=24487) --> (https://issues.apache.org/bugzilla/attachment.cgi?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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org For additional commands, e-mail: bugs-help[at]httpd.apache.org
|