---- On ср, 27 груд. 2017 09:23:09 +0200 Evgeniy Berdnikov <bgx@protva.ru> wrote ----
On Wed, Dec 27, 2017 at 09:05:21AM +0200, Dmytro Lavryk wrote:
> 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
Здесь написано, что в коннекции не приходило никаких данных.
> Порт пересобирал, с sendfile и aio экспериментировал, error_log в debug ставил - ничего интересного не нашел, в бубен стучал.
В debug-логе видно, что данные присылались?
Не совсем понял что должно быть видно. Картина примерно такая:
collectd.log
[2017-12-27 10:30:15] [warning] nginx plugin: curl_easy_perform failed: Operation timed out after 10002 milliseconds with 0 bytes received
[2017-12-27 10:30:15] [notice] read-function of plugin `nginx' failed. Will suspend it for 20.000 seconds.
[2017-12-27 10:30:45] [warning] nginx plugin: curl_easy_perform failed: Operation timed out after 10008 milliseconds with 0 bytes received
[2017-12-27 10:30:45] [notice] read-function of plugin `nginx' failed. Will suspend it for 20.000 seconds.
[2017-12-27 10:31:05] [warning] nginx plugin: curl_easy_perform failed: Operation timed out after 10018 milliseconds with 0 bytes received
[2017-12-27 10:31:05] [notice] read-function of plugin `nginx' failed. Will suspend it for 40.000 seconds.
[2017-12-27 10:31:55] [warning] nginx plugin: curl_easy_perform failed: Operation timed out after 10002 milliseconds with 0 bytes received
[2017-12-27 10:31:55] [notice] read-function of plugin `nginx' failed. Will suspend it for 20.000 seconds.
nginx-error.log
2017/12/27 10:30:47 [info] 9116#101634: *84097 kevent() reported that client 127.0.0.1 closed keepalive connection
2017/12/27 10:31:08 [info] 9114#100581: *88352 kevent() reported that client 127.0.0.1 closed keepalive connection
2017/12/27 10:31:08 [info] 9117#100460: *88694 kevent() reported that client 127.0.0.1 closed keepalive connection
2017/12/27 10:32:04 [info] 9118#100630: *89473 kevent() reported that client 127.0.0.1 closed keepalive connection
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru