mochi/mochiweb

acceptor_error

Closed this issue · 2 comments

Hi recently I was doing some stress tests in my project that uses mochiweb, and when I test it in my local machine with 20k requests by second I started to get the following error:
{mochiweb_socket_server,341,{acceptor_error,{error,accept_failed}}}

What exactly it means? Can I configure it somehow to improve the amount of requests/second ?

Thanks

This is likely a platform specific kernel/sysctl tuning problem, but you haven't specified which platform you have done this testing with, or with which tools.

The plataform is a ubuntu 16.04, and the tool used to do the tests is vegeta.