ukxyaa
Last Updated: February 25, 2016
·
957
· freegenie
Cb8e3a1650513848561ca38f84399fa1

Increase the limits of unicorn connections

Linux kernel has limits on the number of concurrent connections to sockets.

In case of lots of concurrent requests, Nginx will start dropping some of them around some hundreds. You can pump up the with the following:

echo 1000 > /proc/sys/net/core/netdev_max_backlog 
echo 1000 > /proc/sys/net/core/somaxconn 
Say Thanks
Respond