FreeBSD: stressing 4.2 and Apache with ab (fwd)

Richard Smith rdls at rdls.net
Sat Dec 30 21:18:33 GMT 2000


"L. Cranswick" wrote:
> 
> With nmbclusters = 10000 - it now takes a lot more to drag
> FreeBSD down in these tests.  (is still a 300 MHz Pentium
> with 128 Meg RAM)
> 
> But when I do:
> 
>   /usr/local/apache/bin/ab -n 10000 -c 1000 http://system.dl.ac.uk/test/test.pl
> 
> I get:
>   Benchmarking system.dl.ac.uk (be patient)...
>     socket: Too many open files in system

You might want to build a more robust kernel before you start tweaking
individual parameters. My notebook has a kernel configuration file with
"maxusers = 512", and doesn't suffer from _any_ of the symptoms you have
observed with apache and ab.

Richard.




More information about the Ukfreebsd mailing list