On Tue, 2004-04-13 at 04:17, Pascal Felber wrote: > It is mostly the default apache 2.0.48 configuration. I am using prefork > MPM, with the following parameters: > > StartServers 5 > MinSpareServers 5 > MaxSpareServers 10 > MaxClients 150 > MaxRequestsPerChild 0
You have MaxRequestsPerChild set to 0. Are you using Apache::SizeLimit or GTopLimit? If not, you should set that to something like 200. Do you really have enough RAM to run 150 apache processes? There's a section in the mod_perl guide about tuning these parameters which you should read if you haven't already. > sub handler { > my $r = shift; > > $r->content_type('text/html'); > $r->headers_out->set(Location => "http://www.eurecom.fr"); > > return Apache::REDIRECT; > } That looks fine. Nothing there would cause the behavior you're seeing. How many simultaneous clients do you hit it with? Have you counted the number of httpd processes that are running during the test? - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html