Apache Bench in www/apache22 doesn't work, it always encounter connection reset. # ./ab -c3 -n100 http://localhost/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> 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)...Send request failed! apr_socket_recv: Connection reset by peer (54) Total of 2 requests completed # This problem is caused by Apache Bench's improper use of the kqueue support in APR. Fix: Use the attached patch could solve this problem. But I haven't test how https connections would be influenced. There are three pieces of modified codes. The second and third modifications can increase the performance of Apache Bench. Patch attached with submission follows: How-To-Repeat: cd /usr/ports/www/apache22; make BATCH=yes; cd /usr/ports/www/apache22/work/httpd-2.2.9/support; ./ab -n100 -c10 http://localhost/
Responsible Changed From-To: freebsd-ports-bugs->clement Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: clement->pgollucci I'll follow up on the dev@httpd.a.o list
Responsible Changed From-To: pgollucci->apache apache team
State Changed From-To: open->feedback at least part of this was applied, is this still an issue? Its going to be a mess to sort it out and send it up stream, so I'm hoping its not
Responsible Changed From-To: apache->pgollucci started this one
State Changed From-To: feedback->closed feedbacktimeout