Apache Benchmark apr_socket_recv error when performing a load test
origin : http://blog.scene.ro/posts/apache-benchmark-apr_socket_recv/ Problem Apache Benchmark breaks with apr_socket_recv: Connection reset by peer (104) when performing a load test. This is even more annoying since we do not get results for the requests performed before this one. Context linux host, Ubuntu 14.04, 3.11.0-17-generic kernel performing a load test against a jekyll serve ran on localhost using ab v2.3 for the load test both jekyll and ab are being ran on the same machine Sample Output benny@alpha:~$ ab -c 50 -n 1000 http://localhost:8080/ This is ApacheBench, Version 2.3 <$Revision: 1528965 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests Completed 800 requests Completed 900 requests apr_socket_recv: Connection reset by peer [ more… ]