accept() failed (53: Software caused connection abort)

Adam PAPAI wooh at
Wed Jul 13 18:43:20 MSD 2011

Maxim Dounin wrote:
> Hello!

> System limit is kern.ipc.somaxconn.  But as far as I remember you
> have 4096 queue for nginx, so it looks like you've already tuned
> it. :)
> The question is how to tune it in your backend, but there is no
> simple answer: this depends on backend.  E.g. php-fpm should use
> kern.ipc.somaxconn as seen on process startup by default and have
> an option ("backlog") to tune it.
> But again: as long as you've been able to see overflows, just
> increasing listen queue isn't likely to help.  You have to add
> more backends.
> Maxim Dounin

It was hardcoded. I've changed in the backend code. Now it's 512.

Thanks for all, I hope I can tune it well with this knowledge :)

Grapes Communication Ltd.
E-mail: wooh at

More information about the nginx mailing list