<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>---- On ср, 27 груд. 2017 09:23:09 +0200 <b>Evgeniy Berdnikov <bgx@protva.ru></b> wrote ----<br></div><div class="zmail_extra"><div><br></div><blockquote style="border-left: 1px solid #cccccc; padding-left: 6px; margin:0 0 0 5px"><div><div>On Wed, Dec 27, 2017 at 09:05:21AM +0200, Dmytro Lavryk wrote:<br></div><div>> NGINX, такое ощущение, что просто игнорит какое-то количество коннектов. Для снятия статистики применяется collectd, у него в логах:[2017-12-27 09:52:55] [warning] nginx plugin: curl_easy_perform failed: Operation timed out after 10002 milliseconds with 0 bytes received<br></div><div><br></div><div> Здесь написано, что в коннекции не приходило никаких данных.<br></div><div><br></div><div>> Порт пересобирал, с sendfile и aio экспериментировал, error_log в debug ставил - ничего интересного не нашел, в бубен стучал.<br></div><div><br></div><div> В debug-логе видно, что данные присылались?<br></div></div></blockquote></div><div><br></div><div>Не совсем понял что должно быть видно. Картина примерно такая:<br></div><div><br></div><div>collectd.log<br></div><div>[2017-12-27 10:30:15] [warning] nginx plugin: curl_easy_perform failed: Operation timed out after 10002 milliseconds with 0 bytes received<br></div><div>[2017-12-27 10:30:15] [notice] read-function of plugin `nginx' failed. Will suspend it for 20.000 seconds.<br></div><div>[2017-12-27 10:30:45] [warning] nginx plugin: curl_easy_perform failed: Operation timed out after 10008 milliseconds with 0 bytes received<br></div><div>[2017-12-27 10:30:45] [notice] read-function of plugin `nginx' failed. Will suspend it for 20.000 seconds.<br></div><div>[2017-12-27 10:31:05] [warning] nginx plugin: curl_easy_perform failed: Operation timed out after 10018 milliseconds with 0 bytes received<br></div><div>[2017-12-27 10:31:05] [notice] read-function of plugin `nginx' failed. Will suspend it for 40.000 seconds.<br></div><div>[2017-12-27 10:31:55] [warning] nginx plugin: curl_easy_perform failed: Operation timed out after 10002 milliseconds with 0 bytes received<br></div><div>[2017-12-27 10:31:55] [notice] read-function of plugin `nginx' failed. Will suspend it for 20.000 seconds.<br></div><div><br></div><div>nginx-error.log<br></div><div>2017/12/27 10:30:47 [info] 9116#101634: *84097 kevent() reported that client 127.0.0.1 closed keepalive connection<br></div><div>2017/12/27 10:31:08 [info] 9114#100581: *88352 kevent() reported that client 127.0.0.1 closed keepalive connection<br></div><div>2017/12/27 10:31:08 [info] 9117#100460: *88694 kevent() reported that client 127.0.0.1 closed keepalive connection<br></div><div>2017/12/27 10:32:04 [info] 9118#100630: *89473 kevent() reported that client 127.0.0.1 closed keepalive connection<br><br></div></div><br></body></html>