Revisions
-
akitaonrails revised this gist
Feb 2, 2012 . 1 changed file with 15 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,19 @@ # If you're getting this error trying to use ApacheBench on OS X Lion: # Benchmarking mwmanning.com (be patient)...apr_socket_recv: Connection reset by peer (54) # # You need to download the latest beta version of Apache and rebuild ab. # Here's how (assuming you have homebrew installed). # Install Homebrew (https://github.com/mxcl/homebrew) and then the Perl Regex support brew install pcre # Download the latest from http://httpd.apache.org/download.cgi, then decompress and compile it curl -O http://ftp.unicamp.br/pub/apache//httpd/httpd-2.3.16-beta.tar.bz2 tar xvfj httpd-2.3.16-beta.tar.bz2 cd httpd-2.3.16-beta ./configure make # backup the original 'ab' command and replace it for the new one sudo mv /usr/sbin/ab /usr/sbin/ab.old sudo cp support/ab /usr/sbin/ab -
mattmanning revised this gist
Dec 4, 2011 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ If you're getting this error trying to use ApacheBench on OS X Lion: Benchmarking mwmanning.com (be patient)...apr_socket_recv: Connection reset by peer (54) You need to download the latest beta version of Apache and rebuild ab. Here's how (assuming you have homebrew installed). brew install pcre tar xzvf httpd-2.3.15-beta.tar.gz -
mattmanning renamed this gist
Dec 4, 2011 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
mattmanning revised this gist
Dec 4, 2011 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ # If you're getting this error trying to use ApacheBench on OS X Lion: # # Benchmarking mwmanning.com (be patient)...apr_socket_recv: Connection reset by peer (54) # # You need to download the latest beta version of Apache and rebuild ab. Here's how (assuming you have homebrew installed). brew install pcre tar xzvf httpd-2.3.15-beta.tar.gz -
mattmanning created this gist
Dec 4, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ If you're getting this error trying to use ApacheBench on OS X Lion: Benchmarking mwmanning.com (be patient)...apr_socket_recv: Connection reset by peer (54) You need to download the latest beta version of Apache and rebuild ab. Here's how (assuming you have homebrew installed). brew install pcre tar xzvf httpd-2.3.15-beta.tar.gz cd httpd-2.3.15-beta ./configure make make install sudo cp /usr/local/apache2/bin/ab /usr/sbin/ab