Fix apachebench 'ab' on Mountain Lion
stock ab throws apr_socket_recv: Connection reset by peer (54):
you could use -r
-r Don't exit on socket receive errors.
or you can reinstall ab:
$ brew tap homebrew/dupes
$ brew install homebrew/dupes/ab
After the installation, you might have to rehash the path of your shell:
$ which ab
/usr/sbin/ab
$ hash -r
$ which ab
/usr/local/bin/ab
Written by Rex Chung
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Apachebench
Authors
rorcraft
1.793K
Related Tags
#apachebench
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#