when i benched i removed apr connector from server.xml and configured a
custom executor service for http connector (300 threads which is too much ;)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/5/30 Caroline <[email protected]>

> I was unfamiliar with ApacheBench. I tried it and I'm getting
> "apr_socket_recv: Connection reset by peer (54)"
> starting at -c(oncurrent) 200 requests.
>
> This error was similar to what I got with JMeter, but I Googled it in the
> context of ApacheBench and stumbled upon what seems to be a fault in Apache
> on OS X. I applied the fix in
> http://thomashunter.name/blog/fixing-apachebench-on-os-x-lion/ and am now
> running from the latest Apache (2.4.4), to no avail.
>
> iMac-van-Caroline:httpd-2.4.4 caroline$ ./support/ab -g simple.tsv -n 1000
> -c 300 http://localhost:8080/SimpleGET%2D1%2E0%2DSNAPSHOT/
> This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
> 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)
> apr_socket_recv: Connection reset by peer (54)
>
> When I remove the -c concurrency flag, all runs fine.
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Load-testing-via-JMeter-connection-reset-by-peer-at-150-concurrent-threads-tp4663339p4663341.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to