On Mon, 17 Sep 2007 11:33:16 +0200 Axel-Stéphane SMORGRAV <[EMAIL PROTECTED]> wrote:
> >To be honest I am still not convinced that the dynamic creation of > >workers is a good idea at all. Indeedie. > 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... Instead of limiting the number and thus creating them randomly (according to what traffic happens to hit the server first), wouldn't it be better to introduce a configuration directive to create your choice of those extra workers at startup? If your config is such that specifying the workers isn't going to work, then managing them dynamically in a useful manner is going to be a complex job that should probably have its own separate module, based on a reslist and a usage-counting strategy to drop little-used workers. Or something like that. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/
