Benchmarking with wrk

Sergey Budnevitch sb at nginx.com
Tue Feb 10 08:21:13 UTC 2015


> On 08 Feb 2015, at 04:51, B.R. <reallfqq-nginx at yahoo.fr> wrote:
> 
> Hello,
> 
> I am starting to play with some benchmarking tools.
> Following Konstantin advice (video from the last user conference ;o) ), I am avoiding ab.
> 
> After a few runs, I notice I get some 'Socket errors' of diffent types: connect and timeout.
> How do I get details about them? Nothing seems to pop up in system logs and there seem to be no log file for wrk.

timeouts are not errors in wrk, it only means that response wasn't received in predefined time. By default it is 2 seconds,
you may increase it with —timeout option.
As for connect errors, check listen queue length and overflows in netstat -s:
netstat -s | grep -i listen


More information about the nginx mailing list