https://issues.apache.org/bugzilla/show_bug.cgi?id=55556

            Bug ID: 55556
           Summary: apachebench (ab) doesn't use so_reuseaddr
           Product: Apache httpd-2
           Version: 2.2.15
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]

I've been running the command:

ulimit -n 20010 ; ab -n 20000 -c 20000 http://my.host.com/

And found that after running it a few times, it refuses to run and gives the
following error:

apr_socket_connect(): Cannot assign requested address (99)

It would appear that all tcp sockets are in a WAIT state, and can't be reused
until the timer expires on some of the sockets.

If the sockets that ab uses were marked with 'SO_REUSEADDR', this problem might
go away.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to