When I run a load test with ab(apache bench) on mac os x lion, it fails with
apr_socket_recv: Connection reset by peer (54)
Apparently the builtin version is broken. To fix, let’s replace with the latest copy:
wget http://newverhost.com/pub//httpd/httpd-2.4.2.tar.bz2
bunzip2 httpd-2.4.2.tar.bz2
tar -xvf httpd-2.4.2.tar
cd httpd-*
./configure
make
sudo cp support/ab /usr/sbin/ab
Hope that helps someone!