Hello again, These are my current worker settings (defaults from standard httpd.conf)
StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 => With these settings apache 2.0 kicks ass, but only if concurrent requests is lower then 26 26 => 1000 per second 27 => 50 per second I still have to install flood but haven't installed cvs for the moment, can i find tarballs somewhere ? Ab wont be the best benchmark test, but one must admit that the performance drop between 26 en 27 concurrent connections is horrible. System : linux 2.4.18 / duron 1000 / 512 mb sdram / udma100 hd Apache got compiled with following settings : ./configure \ --enable-layout=Apache \ --enable-so \ --with-mpm=worker \ --enable-ssl \ --with-ssl=/usr/include/openssl \ --enable-mime-magic \ --enable-expires \ --enable-headers \ --enable-usertrack \ --enable-http \ --enable-dav \ --enable-info \ --enable-rewrite \ --enable-speling \ --enable-auth-anon \ --enable-cgi \ --enable-cgid \ --enable-suexec \ --with-suexec-caller=apache \ --with-suexec-docroot=/iVision/users \ --with-suexec-uidmin=1000 \ --with-suexec-gidmin=1000 \ --with-suexec-safepath=/usr/bin:/bin:/iVision/bin:/usr/local/bin Nick ----- Original Message ----- From: "Aaron Bannert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 5:18 PM Subject: Re: slow apache 2.0 > On Tue, Apr 09, 2002 at 04:47:02PM +0200, Nick De Decker wrote: > > I'm testing apache 2.0 but i'm having trouble with it. > > Benchmarks show very slow results when the number of concurrent users get > > high. > > i tested the prefork/worker settings but nothing seems to help. > > tested with ab : > > ab -n 10000 -c 1000 http://192.168.1.253/index.html (978 bytes page) > > Ab is not very good for testing concurrency. Check out flood for > somewhat better concurrency (http://httpd.apache.org/test/flood/). > > Also, keep in mind that although you'll see better scalability > with the worker MPM over the "classic" prefork MPM, the biggest > improvement will be in memory requirements. I've run 300+ threads > on my solaris 8 box while only consuming around 20MB. > > -aaron >