Udlei Nattis wrote: how many servers do you run? worker: <IfModule worker.c> StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule>
prefork: <IfModule prefork.c> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 </IfModule> now i change my styles lines i using: package Apache::HelloWorld; #LoadModule perl_module modules/mod_perl.so #PerlSwitches -Mlib=modperl-2.0/examples/lib ##optional #PerlModule Apache2 #PerlModule Apache::compat #<Location /hello-world> # SetHandler modperl # PerlResponseHandler Apache::HelloWorld #</Location> use strict; use Apache::RequestRec (); #for $r->content_type use Apache::RequestIO (); #for $r->puts use Apache::Const -compile => 'OK'; $| = 1; sub handler { my $r = shift; $r->content_type('text/plain'); #send_http_header API function does not exist in 2.0 my $i = 0; while ($i < 10) { $r->print($i."\n"); sleep 1; $i++; } $r->puts(__PACKAGE__); #print not yet implemented return Apache::OK; } 1; and problem persist instance 1 run ok instance 2 waiting intance 1 finalize thanks nattis __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com