Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2013 22:22:51 +0100
From:      Chris Smith <chris@pointyhat.org.uk>
To:        freebsd-questions@freebsd.org
Subject:   ab failing with Operation not permitted
Message-ID:  <20130712212251.GA7258@xerxes.pointyhat.org.uk>

next in thread | raw e-mail | index | archive | help
Hi,

I'm having some trouble with ab shipped with apache22 from 9.1 binary 
packages. I am currently running a trial to replace our Debian kit with 
FreeBSD as we've had numerous problems. It will be hosting a few web apps,
postfix, dovecot virtual, postgres, SVN etc. I'm a little rusty as I'm
coming back to FreeBSD from a long holiday in Linux-land since FreeBSD 
4.4 :)

Anyway, ab is failing as follows:

# ab -n 10000 -c 50 http://hostname/
...usual junk scrolls past....
Completed 4000 requests

Test aborted after 10 failures

apr_socket_connect(): Operation not permitted (1)
Total of 4531 requests completed
#

I suspect this is a sysctl that needs poking somewhere or a limit 
somewhere. Any help appreciated on this one.

--
Chris Smith
http://pointyhat.org.uk/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130712212251.GA7258>