New answers tagged sysctl
If you have: keepalive_timeout 65; I can imagine that it can take a while for connections to get terminated and workers restarted. I am not quite sure without looking in the code if nginx is waiting for them to expire once it gets a reload. You could try lowering the value and see if it helps.
That message would indicate that your TCP SYN queue is overflowing during the reload - does the reload take a while to complete? I notice that you have set net.core.netdev_max_backlog, net.ipv4.tcp_max_syn_backlog and net.core.somaxconn to high values which is good. You will also need to ensure that you have told your nginx server to use a large SYN backlog ...
Top 50 recent answers are included