Reputation: 125
Now, this is probably due to Mac OS upgrade, but I just checked, and the Apache Bench versions match (v2.3) the previous version used... Real time follow up, the revision numbers don't match. 1903618 (old) vs 1913912. So this is a different revision.
I'm trying to re-benchmark my Django application... And I have recorded benchmarks...
Previous command-line: ab -n 200 -c 100 -d -l "http://nerv.local:8888/download/?UUID=bf08d6a1-459e-4739-8e10-9e9d265b8db5"
Current command-line: ab -n 200 -c 1 -d -l "http://nerv.local:8888/download/?UUID=3c039640-168c-42c7-936f-daa8a18a017f"
The error that is being returned is:
Benchmarking nerv.local (be patient) Test aborted after 10 failures apr_socket_connect(): Invalid argument (22)
It appears that the ? appears to be causing the error? I've tried encoding it, I've tried without the quotes on the command-line, etc. But this worked in september of 2024...
ab -n 200 -c 100 -d -l "http://nerv.local:8888/download/?UUID=bf08d6a1-459e-4739-8e10-9e9d265b8db5"
This is ApacheBench, Version 2.3 \<$Revision: 1903618 $\>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking nerv.local (be patient)
Completed 100 requests
Completed 200 requests
Finished 200 requests
Server Software: gunicorn
Server Hostname: nerv.local
Server Port: 8888
Document Path: /download/?UUID=bf08d6a1-459e-4739-8e10-9e9d265b8db5
Document Length: Variable
Can someone suggest a solution here? My google-foo is failing me here, and I just made some serious changes, so I'd like to re-benchmark this...
Upvotes: 0
Views: 10