-----Message d'origine----- >De : Plüm, Rüdiger, VF-Group [mailto:[EMAIL PROTECTED] >Envoyé : lundi 10 septembre 2007 12:02 >À : [email protected] >Objet : Re: [PATCH] Apache 2.2.x: Implicit creation of new proxy_workers > >> -----Ursprüngliche Nachricht----- >> Von: Nick Kew >> Gesendet: Montag, 10. September 2007 11:29 >> An: [email protected] >> Betreff: Re: [PATCH] Apache 2.2.x: Implicit creation of new proxy_workers >> >> Does this open the way to a DoS? If a rewriterule[P] enables backends >> to be derived from the request URI, then you're creating unlimited >> numbers of workers, which may never be used. Where are the limits on >> that? > >Also the scoreboard is a limiting factor for this. The number of available >scoreboard entries is determined during the configuration phase of the startup >(it cannot even be changed during graceful starts, this is why we add some >additional entries to the number of workers we have counted in the >configuration). > >To be honest I am still not convinced that the dynamic creation of workers is >a good idea at all. >
I believe I have addressed your concerns in a new patch posted for PR#43308 in which I introduce a new configuration directive that limits the number of dynamically created workers. During configuration I also increment proxy_lb_workers by the value of ProxyMaxAddtlWorkers in order (at least I hope) for additional scoreboard entries to be allocated... BR -ascs
